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

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

mysql> grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)


版权声明:本文为jetluning原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。