host 'XXX.XXX.XXX.XXX'is not allowed to connect to this MySQL server mysql远程连接报错
Posted wangbiubiu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了host 'XXX.XXX.XXX.XXX'is not allowed to connect to this MySQL server mysql远程连接报错相关的知识,希望对你有一定的参考价值。
两步:
把mysql数据库里user表里的root用户的 host字段改成%:update user set host = ‘%‘ where user =‘root‘;
刷新:flush privileges;
以上是关于host 'XXX.XXX.XXX.XXX'is not allowed to connect to this MySQL server mysql远程连接报错的主要内容,如果未能解决你的问题,请参考以下文章
host 'XXX.XXX.XXX.XXX'is not allowed to connect to this MySQL server mysql远程连接报错
dial tcp: lookup xxx.xxx.xxx.xxx: no such host
Mysql Error: Host ‘xxx.xxx.xxx.xxx’ is not allowed to connect to
mysql错误 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES)
MySQL登录时出现 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES) 的解决