权限问题,授权 给 root 所有sql 权限 mysql> grant all privileges on *.* to root@"%" identified by "PASSWORD";
Query OK, 0 rows affected
mysql> flush privileges;
Query OK, 0 rows affected
mysql>
Cause: java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist
原文:http://www.cnblogs.com/sos-blue/p/7616931.html