本文最后更新于 2550 天前,其中的信息可能已经有所发展或是发生改变。
内容纲要
升级至MySQL 8.0.11后GUI工具就全部出现了无法查询表的问题,到后面发现mysqldump都无法正常使用.
错误信息:
[HY000][1449] The user specified as a definer ('mysql.infoschema'@'localhost') does not exist.
The user specified as a definer ('mysql.infoschema'@'localhost') does not exist
查询后发现还需要用mysql_upgrade对数据进行升级.
解决方案:mysql_upgrade -u${your_username} -p${your_password}
解决了我的问题,多写分享