数据库
首页 > 数据库> > 1130 - Host'XX-xx' is not allowed to connect to this MySQL server

1130 - Host'XX-xx' is not allowed to connect to this MySQL server

作者:互联网

MySQL常见的错误码讲解: https://www.cnblogs.com/henrylinux/p/9746867.html

出现上述连接错误主要从以下几个步骤解决

确定目的连接服务器的IP地址

保证目的服务器上的MySQL提供远程连接服务

授权远程访问 :(A->B,则再B计算机的Mysql中以root账户执行以下命令)
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
FLUSH PRIVILEGES;

--> 

标签:iptables,服务,service,1130,防火墙,server,Host,MySQL,root
来源: https://www.cnblogs.com/openmind-ink/p/14942802.html