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

参考:http://www.cnblogs.com/Magicam/archive/2013/07/22/3207382.html

权限问题,授权 给 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)

posted @ 2016-09-26 18:14  蚂蚁1  阅读(5894)  评论(0编辑  收藏  举报