数据库
首页 > 数据库> > Error 1130: Host '127.0.0.1' is not allowed to connect to this MySQL server

Error 1130: Host '127.0.0.1' is not allowed to connect to this MySQL server

作者:互联网

MySQL客户端连接MySQL Server的时候报错:

Connection check failed: Error 1130: Host '127.0.0.1' is not allowed to connect to this MySQL server.

看到网上好多人都是直接将对应的数据库用户的host属性改成'%'。这样其实就会降低了数据库的访问控制。

遇到这样的问题的时候,还有可能是因为开启了skip_name_resolve参数设置。

标签:127.0,0.1,1130,Host,connect,allowed,MySQL
来源: https://www.cnblogs.com/abclife/p/15684813.html