goldenairways Posted October 22, 2009 Report Posted October 22, 2009 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. Quote
goldenairways Posted October 22, 2009 Author Report Posted October 22, 2009 Sorry, just sorted it. I found out that I hadn't made myself a user, and wasn't thinking straight. haha Quote
goldenairways Posted October 22, 2009 Author Report Posted October 22, 2009 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') Quote
Administrators Nabeel Posted October 22, 2009 Administrators Report Posted October 22, 2009 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.