1130 - Host XXX is not allowed to connect to this MySQL server。

1.在用Navicat配置远程连接Mysql数据库时遇到如下报错信息,这是由于Mysql配置了不支持远程连接引起的。 2.在安装Mysql数据库的主机上登录root用户: mysql -u root -p 3.依次执行如下命令: use mysq; select host from user where user='root'; 可以看到当前主机配置信息为localhost. 4.执行update
相关文章
相关标签/搜索