Access denied for user 'www-data'@'localhost - how to deal with that?

后端 未结 7 1625
终归单人心
终归单人心 2020-12-16 01:45

I face with a strange problem yesterday. I have server running Debian with installed PHP 4.4.4-8 and mysql 5.5.9. That server serves a several websites. For some reason ran

7条回答
  •  爱一瞬间的悲伤
    2020-12-16 02:08

    i faced the same problem. The problem was in my config.php! I simply changed the $dbserver from "127.0.0.1" -> "localhost". Now the connection works again!

提交回复
热议问题