出现的情况:从一个数据库数据迁移到本地localhost
在直接打卡数据库视图的时候 出现错误:
1449 - the user specified as a definer ('root'@'%')does not exist
查阅资料解决办法:
运行: grant all privileges on *.* to root@"%" identified by ".";
更改权限: flush privileges;
再次点击视图就能查看视图
出现的情况:从一个数据库数据迁移到本地localhost
在直接打卡数据库视图的时候 出现错误:
1449 - the user specified as a definer ('root'@'%')does not exist
查阅资料解决办法:
运行: grant all privileges on *.* to root@"%" identified by ".";
更改权限: flush privileges;
再次点击视图就能查看视图