你的位置:首页 > Java教程

[Java教程]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)