Caused by: java.sql.SQLException: The user specified as a definer (''@'') does not exist

mysql 1449 : 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)

posted on 2016-06-15 17:17  java_ma  阅读(1527)  评论(0编辑  收藏  举报