Navicat Premium打开数据库出现:1449 - The user specified as a definer ('mysql.infoschema'@'localhost') does not exist
由于mysql_upgrade 功能在 mysql8.0 之后版本已经停用了,所以用一下命令即可
mysql -u root -p
#你的root密码
use mysql
create user 'mysql.infoschema'@'%' identified by '密码';
grant all privileges on *.* to 'mysql.infoschema'@'%';
flush privileges;
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。