Código PHP:
$dbhost = 'localhost';
$dbname = 'nombre';
$dbuser = 'user';
$dbpasswd = 'xxxxx';
$dbh=mysql_connect($dbhost, $dbuser, $dbpasswd ) or die ('I cannot connect to the database because: ' . mysql_error());
$db_selected = mysql_select_db($dbname,$dbh);
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'user'@'localhost' (using password: YES) in <dir..> on line 21
I cannot connect to the database because: Access denied for user 'user'@'localhost' (using password: YES)
Alguien ve algo raro?? :S