"1130-host ... is not allowed to connect to this MySql server"登录失败

Posted 夏天一去,又是冬季

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了"1130-host ... is not allowed to connect to this MySql server"登录失败相关的知识,希望对你有一定的参考价值。

原因: 该用户没有远程连接权限.

解决:授权!

mysql>GRANT ALL PRIVILEGES ON *.* TO ‘user‘@‘%‘ IDENTIFIED BY ‘password‘ WITH GRANT OPTION;
mysql> FLUSH  PRIVILEGES;

完毕!

以上是关于"1130-host ... is not allowed to connect to this MySql server"登录失败的主要内容,如果未能解决你的问题,请参考以下文章

报错:1130-host ... is not allowed to connect to this MySql server

报错:1130-host ... is not allowed to connect to this MySql server

ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL

1130-host ... is not allowed to connect to this MySql server

报错:1130-host ... is not allowed to connect to this MySql server

解决centos7.4 安装LAMP环境后报错:1130- Host xxx is not allowed to……