Connecting phpVMS to database

I am just transfering from my old host to my one, but I have setup a phpVMS database and changed all the details in the local.config.php file. However on the homepage it says:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘goldenai_allan’@‘localhost’ (using password: YES) in /home/goldenai/public_html/core/classes/ezDB_MySQL.class.php on line 108

Database connection failed (1045: Access denied for user ‘goldenai_allan’@‘localhost’ (using password: YES))

In the “ezDB_MySQL.class.php” (line 108) it is:

$this->dbh = mysql_connect($dbhost, $dbuser, $dbpassword, true);

I the only thing I have noticed is “dbh” but doubt it. Any help would be appreciated.

Sorry, just sorted it. I found out that I hadn’t made myself a user, and wasn’t thinking straight. haha

Seems I have a new issue now though. Even though I have created the account with correct password and stuff, its coming up with:

Database connection failed (1044: Access denied for user ‘goldenai_allan’@‘localhost’ to database ‘goldenai_phpVMS’)

Make sure your user has sufficient permissions to that database. It wouldn’t be a code issue, since that’s the error being returned by MySQL