Mysql无法远程连接问题终结版
2016-09-16 08:55
387 查看
打开第一个会话窗口
/etc/init.d/mysql stop (service mysqld stop )
/usr/bin/mysqld_safe --skip-grant-tables
打开新的会话窗口
[root@localhost ~]# mysql
mysql>use mysql
mysql>update user set password=password("123456") where user="root";
mysql>flush privileges;
mysql>exit
问题:HOSt ip is not allowed to connect to this MySql server
mysql>update user set host = '%' where user = 'root';
mysql>flush privileges;
/etc/init.d/mysql stop (service mysqld stop )
/usr/bin/mysqld_safe --skip-grant-tables
打开新的会话窗口
[root@localhost ~]# mysql
mysql>use mysql
mysql>update user set password=password("123456") where user="root";
mysql>flush privileges;
mysql>exit
问题:HOSt ip is not allowed to connect to this MySql server
mysql>update user set host = '%' where user = 'root';
mysql>flush privileges;
相关文章推荐
- Ubuntu 14.10 下MySQL无法远程连接问题
- 完美解决MySQL安装后无法远程连接的问题
- (备忘)关于远程无法连接云主机MySQL的问题
- windows版本的mysql无法远程连接服务器上的mysql的问题,错误代码10060
- Navicat远程无法连接mysql问题解决(附MAC上NavicatPremium11.1.8破解中文版下载链接)
- Mysql 连接远程Linux主机无法连接 10061问题
- 最近在配mysql和web分离的服务器时所出现的phpmyadmin无法连接远程数据库问题
- 阿里云ECS安装mysql无法远程连接问题
- 【数据库】LNMP一键包安装后解决MySQL无法远程连接问题
- mysql解决远程登录无法连接的问题
- Linux相关问题-解决MySQL无法远程连接问题
- 亚马逊EC2 ubuntu下安装mysql远程无法连接问题o
- CentOS6.5下MySQL无法远程连接的问题
- CentOS6.5下MySQL无法远程连接的问题
- Mysql用户无法远程连接问题
- 解决远程连接MYSQL时无法连接的问题(Access denied for...)
- LNMP一键包安装后解决MySQL无法远程连接问题
- mysql远程无法连接数据库的问题
- 解决CentOS6.5下MySQL5.6无法远程连接的问题
- CentOS6.5下MySQL无法远程连接的问题