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

权限问题,授权 给 root  所有sql 权限,

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

成功后执行刷新权限表的操作:flush privileges;

原文地址:https://www.cnblogs.com/andysd/p/3706849.html