ho messo un applicazione php sul mio web server e mi da questo errore...

Codice PHP:
Warningmysql_pconnect() [function.mysql-pconnect]: Access denied for user 'www-data'@'localhost' (using passwordNOin /var/www/clients/client1/web8/web/be/include/beContent.inc.php on line 1673  Fatal errorCall to a member function getMessage() on a non-object in /var/www/clients/client1/web8/web/be/include/beContent.inc.php on line 1685 

come risolvere?