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

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

执行下面语句

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

flush privileges;

这样就正常了。

原文地址:https://www.cnblogs.com/luoa/p/10571421.html