错误信息
ERROR 1449 (HY000): The user specified as a definer (‘mysql.infoschema’@‘localhost’) does not exist
之前删除了所有的用户,只保留自己创建的root,今天重启了mysql后发现通过远程连不上mysql了。
解决方案参考:
https://stackoverflow.com/questions/62127983/error-1449-hy000-the-user-specified-as-a-definer-mysql-infoschemalocalho
https://www.freesion.com/article/9212984875/