mysql:The user specified as a definer ('root'@'%') does not exist

原因:mysql的用户root没后获取所有权限。

执行下面语句

grant all privileges on *.* to root@"%" identified by ".";

flush privileges;

 

这样就正常了。

posted @ 2019-03-21 14:24  阿罗luo  阅读(137)  评论(0编辑  收藏  举报