您好,欢迎访问一九零五行业门户网

Host '127.0.0.1' is not allowed to connect to this MySQL server

错误:host  '127.0.0.1'  is  not  allowed  to  connect  to  this  mysql  server
一般原因: mysql数据库的配置文件my.ini中设置了参数: skip-name-resolve
        从而导致使用“localhost”不能连接到数据库。
解决方法: 注释掉: #skip-name-resolve
注释掉对数据库的设置略有影响,但影响不大。
以上就是host '127.0.0.1' is not allowed to connect to this mysql server的详细内容。
其它类似信息

推荐信息