The user specified as a definer ('root'@'%') does not exist 解决方法

第一步:使用root权限登录mysql;


第二步:执行 grant all privileges on *.* to [email protected]"%" identified by ".";

第三步:执行 flush privileges;


完成;