码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2016-06-15 17:25:14      阅读:323      评论:0      收藏:0      [点我收藏+]

标签:

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)

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

标签:

原文地址:http://www.cnblogs.com/zhangding/p/5588214.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!