Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'devy_viibot'@'localhost' (using password: YES) in /home/devy/public_html/library/config.php on line 24
Connection failed: Access denied for user 'devy_viibot'@'localhost' (using password: YES)
$dbhost = 'localhost';
$dbuser = 'devy_viibot';
$dbpass = 'password';
$dbname = 'devy_MyCMS';
$conn = mysql_connect ($dbhost, $dbuser, $dbpass) or die ("Connection failed: " . mysql_error());
PS: User exists. Password correct. DB exists.
In PHPMyAdmin i get the following, while logging in with cpanel name:
Create new database:
[X] No Privileges
Thread may be closed. Problem solved by exporting/deleting/importing DB and recreating users.