Jump to content

Recommended Posts

Posted

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.

Posted

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')
  • Administrators
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...