Host 'admin-PC' is not allowed to connect to this MySQL server
2015-06-05 14:55
585 查看
http://blog.csdn.net/liuxiyangyang/article/details/8951262
问题:"Host 'admin-PC' is not allowed to connect to this MySQLserver" (其中,admin-PC为我的机器名)
原因:安装MySQL时没有勾选“Enable root access from remote machines”
解决办法:执行命令
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mypassword';
flush privileges;
问题:"Host 'admin-PC' is not allowed to connect to this MySQLserver" (其中,admin-PC为我的机器名)
原因:安装MySQL时没有勾选“Enable root access from remote machines”
解决办法:执行命令
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mypassword';
flush privileges;
相关文章推荐
- mysql数据库的相关操作
- sphinx(斯芬克斯)mysql全文搜索引擎
- mysql集群
- navicat for mysql 10.1.7注册码
- MySQL/InnoDB锁机制
- mysql二级索引
- Mysql新增UTF8MB4编码支持emoji表情
- Window下zip压缩包的MySQL的启动与停止
- spark将计算结果写入到mysql中
- 我的MYSQL学习心得(4) : 数据类型 下
- 我的MYSQL学习心得(4) : 数据类型 上
- 我的MYSQL学习心得(3) : 查看字段长度
- 我的MYSQL学习心得(2) :数据类型宽度
- 我的MYSQL学习心得(1) 简单语法
- mysql 添加某个ip 允许访问
- cmd连接mysql的方法详解
- MySql 与C# 乱码问题处理
- mysql 替换字符串
- mysql 相同内容的字段合并为一条的方法
- 高性能mysql笔记---mysql服务器性能剖析[-2-]