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

mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法

时间:2016-05-26 14:43:14      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

mysql 1449 : The user specified as a definer (‘user‘@‘%‘) does not exist 问题

原因是: 权限问题,当前的用户不具有执行这个sql的权限

解决方式: 你需要授权给 user 用户 所有sql 权限,需要执行如下操作:

 

mysql> grant all privileges on *.* to user@"%" identified by ".";
执行成功即可
mysql> flush privileges;
执行成功即可

mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法

标签:

原文地址:http://www.cnblogs.com/doudouz/p/5530890.html

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