远程连接MySQL提示“Host is not allowed to connected to this MySQL server”
Posted loganchen
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了远程连接MySQL提示“Host is not allowed to connected to this MySQL server”相关的知识,希望对你有一定的参考价值。
如果你想连接你的mysql的时候发生这个错误:
ERROR 1130: Host ‘192.168.1.3‘ is not allowed to connect to this MySQL server
这个时候需要授权:
GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘192.168.1.3‘ IDENTIFIED BY ‘mypassword‘ WITH GRANT OPTION;
flush privileges;
就可以了。
以上是关于远程连接MySQL提示“Host is not allowed to connected to this MySQL server”的主要内容,如果未能解决你的问题,请参考以下文章
用heidisql连接远程mysql数据库提示SQL错误1045,Access denied for...
mysql远程连接时提示not allowed connect
通过mysql 连接远程数据库时,输入密码后,提示10060错误
远程连接MySQL提示 Host is not allowed to connect to this MySQL server