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

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

    Deactivating safe mode fixed it for me:

    Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in /var/www/html/test.php on line 4
    
    0 讨论(0)
提交回复
热议问题