#HY000The user specified as a definer ('root'@'%') does not exist
2014-02-26 09:58
387 查看
MySQL ('root'@'%') does not exist的问题
在使用mysql时出现问题: The user specified as a definer ('root'@'%') does not exist。
一般是由于root用户对全局host无访问权限。因此只要给root用户添加一个访问权限即可。
解决办法:
登陆mysql ,执行
mysql -u root -pPasswd
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 -pPasswd
mysql >grant all privileges on *.* to root@"%" identified by "Passwd" ;
mysql >flush privileges;
相关文章推荐
- mysql中int、bigint、smallint 和 tinyint的区别与长度
- mysql load data 导出、导入 csv
- source命令执行SQL脚本文件
- linux下mysql添加用户
- mysql procedure
- mysql触发器
- MySQL 备份和恢复策略
- mac下安装mysql(转载)
- mysql 修改编码 Linux/Mac/Unix/通用(杜绝修改后无法启动的情况!)
- MySQL数据的导出、导入(mysql内部命令:mysqldump、mysql)
- mysql数据行转列
- Linux下修改MySQL编码的方法
- MySQL Server 日志
- MySQL 安全事宜
- MySQL 备份与恢复
- MySQL 优化
- MySQL 数据类型
- Facebook's New Real-time Messaging System: HBase to Store 135+ Billion Messages a Month
- MySQL复制