Page 1 of 1

mysql not getting connected : Access denied for user

Posted: Sun Sep 27, 2009 9:22 am
by nehrav
Hi guys,

I pick an example from net and try to run that, but on execution I get this

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'test'@'localhost' (using password: YES) in C:\wamp\www\example.php on line 11
Access denied for user 'test'@'localhost' (using password: YES)

I can understand that mysql is not getting connected, can anybody tell me how I can fix this.....

Re: mysql not getting connected : Access denied for user

Posted: Sun Sep 27, 2009 11:07 am
by jackpf
Use the right credentials.