1130 - Host ‘192.168.10.10‘ is not allowed to connect to this MysOL server

问题描述:

centos 7  mysql 远程登录报错误信息:1130 - Host '124.114.155.70' is not allowed to connect to this MysOL server

 解决办法:

//需要在mysql 数据库目录下修改
use mysql;
//更改用户的登录主机为所有主机,%代表所有主机
update  user set host='%' where user='root';  
//刷新权限
flush privileges;

登录服务器执行上述命令  完成后再试

猜你喜欢

转载自blog.csdn.net/u010416069/article/details/133695949