View Single Post
  #1 (permalink)  
Old 2007-10-22, 03:57 PM
mcskins mcskins is offline
Junior Member
 
Join Date: Oct 2007
Posts: 2
mcskins is on a distinguished road
Default mysql php connection issue

I am new to php and mysql. I am running debian etch php5 and mysql5.
I created some test php scripts to talk to mysql. Everything worked initially, but after about the 5th connection the php mysql connects did not work anymore.

Here is the error message I get now:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: YES) in /var/www/apache2-default/select.php on line 6
Unable to select database

I rebooted my box and it still does not work.

Thanks for your help!
Bill
Reply With Quote
Sponsored Links