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

后端 未结 7 1632
终归单人心
终归单人心 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:01

    For absent-minded people, this error may happen when mysql_query() is called after mysqli_connect(), when it should be mysqli_query().

提交回复
热议问题