‘Host’ is not allowed to connect to this mysql server
不允许“主机”连接到此MyS QL服务器
1、进入mysql数据库,选择mysql
2、更新 user表的host,
select * from user
update user set host = '%' where user='root'
3、重启服务(cmd命令框)
net stop mysql
net start mysql
检查服务器端口
telnet 123.123.0.123 8080
未开启:
正在连接123.123.0.123...无法打开到主机的连接。 在端口 8080: 连接失败