ITeye博客

java操作数据库异常

xls · 2013-09-14 10:00 · SQL · eclipse · 数据库 · Markdown

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)

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。