MySql 1130-host ... is not allowed to connect to this MySql server
2016-12-18 20:26
330 查看
你的帐号不允许从远程登陆,只能在localhost登陆。更改user表里的host项,把“localhost”改为“%”。
mysql > use mysql;
mysql > update user set host = '%' where user = 'root';
mysql > select host, user from user;
mysql > flush privileges;
mysql > use mysql;
mysql > update user set host = '%' where user = 'root';
mysql > select host, user from user;
mysql > flush privileges;
相关文章推荐
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法 .
- MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- mysql:ERROR 1130: Host '192.168.0.102' is not allowed to connect to this MySQL server
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法
- 转 Error No. 1130 Host '*.*.*.*' is not allowed to connect to this MySQL server
- 报错:1130-host ... is not allowed to connect to this MySql server
- mysql: 1130 Host '192.168.1.3' is not allowed to connect to this MySQL server
- 【MySql】报错:1130-host ... is not allowed to connect to this MySql server
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法
- ERROR 1130: Host 'A'is not allowed to connect to this MySQL server
- ERROR 1130: Host 'A'is not allowed to connect to this MySQL server
- 远程连接服务器出现 SQL Error (1130): Host IP is not allowed to connect to this MySQL server 错误
- ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- #1130 - Host 'localhost' is not allowed to connect to this MySQL server
- ERROR 1130: Host 'A'is not allowed to connect to this MySQL server
- [MySQL]MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- ERROR 1130: Host ***.***.***.*** is not allowed to connect to this MySQL serverERROR 1062 (23000):
- mysql不支持远程连接的解决办法(#1130 - Host 'localhost' is not allowed to connect to this MySQL server)
- SQL Error (1130): Host IP is not allowed to connect to this MySQL server