i have the same error
<br />
<b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'desiree_root'@'johnny.heliohost.org' (using password: YES) in <b>/home/desiree/public_html/test.php</b> on line <b>2</b><br />
Could not connect: Access denied for user 'desiree_root'@'johnny.heliohost.org' (using password: YES)
i used this script::
<?php
$conect = mysql_connect('desiree.heliohost.org', 'desiree_root', '********');
if (!$conect) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($conect);
?>
i created user desiree_root and i allocated to database
the same error if i use cPanel user
and yes, i have all permission granted to user