MySql教程

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参数设置。

这篇关于Error 1130: Host '127.0.0.1' is not allowed to connect to this MySQL server的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!