I use plesk 9.3, which is required by Serverloft. We are hosting on 24 websites on it. First, it said too many connection error, and then when I search the main problem.
The problem is:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/mimarki.com/subdomains/test/httpdocs/pages.php on line 23
The database user that the application should be using to connect is not named
www-data, and does have a password.
Also, the MySQL performance is very low indeed.
I guess there is a configuration problem but it's a mystery for now.
Could you please help me about what can it be? How can this problem be solved?