MySQL ('root'@'%') does not exist 的问题
2014-02-25 14:31
441 查看
MySQL ('root'@'%') does not exist的问题
在使用mysql时出现问题: The user specified as a definer ('root'@'%') does not exist。
一般是由于root用户对全局host无访问权限。因此只要给root用户添加一个访问权限即可。
解决办法:
登陆mysql ,执行
mysql -u root -p
mysql >grant all privileges on *.* to root@"%" identified by "Passwd" ;
mysql >flush privileges;
在使用mysql时出现问题: The user specified as a definer ('root'@'%') does not exist。
一般是由于root用户对全局host无访问权限。因此只要给root用户添加一个访问权限即可。
解决办法:
登陆mysql ,执行
mysql -u root -p
mysql >grant all privileges on *.* to root@"%" identified by "Passwd" ;
mysql >flush privileges;
相关文章推荐
- dos下进入mysql环境
- mysql启动问题access denied for user 'root'@'localhost'(using password:YES)
- MySQL Help 答朋友问:5000W记录的Innodb表如何快速的去重复数据
- Mysql创建新用户
- MySQL:日期函数、时间函数总结(MySQL 5.X)
- Ubuntu下无法使用root登录Mysql的解决办法
- CYYMysql 源码解读 4
- 修改Ubuntu默认的MySQL表名大小写区分
- MySQL性能优化
- MySQL Benchmark(全文)
- mysql汉字按字母顺序排序
- MySQL global Log
- mysql : 常用管理命令
- mysql优化Analyze Table
- SqlServer和Mysql 时间字段格式化
- mysql创建定时任务(V2.10)
- 17 mysql XA事务
- mysql缓存设置
- MySQL中EXPLAIN解释命令
- mysql配置文件my.cnf详解