代码改变世界

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

2017-01-20 13:41  观海看云  阅读(310)  评论(0编辑  收藏  举报

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