View Full Version : Need Help - Urgent
Breakthecycle2
01-07-2012, 05:16 PM
Hi all,
I just switched hosting companies yesterday and got the servers all set up. Now, today I am getting hammered with database error emails:
Database error in vBulletin :
mysql_connect(): Access denied for user 'droidtec_forum'@'localhost' (using password: YES)
/var/www/vhosts/default-domain.com/public_html/includes/class_core.php on line 314
Can someone PLEASE help me! The forums obviously do not work at all.
Max Taxable
01-07-2012, 05:24 PM
Looks like, offhand, you do not have your database set up correctly on new host.
I assume you copied all you vb files to the new server. Did you edit your includes/config.php file to use the new database information?
Edit: Max beat me to it...
Breakthecycle2
01-07-2012, 05:36 PM
Yeah, I edited the config file, but it still isn't working. Does it take some time to refresh it?
Max Taxable
01-07-2012, 05:41 PM
Yeah, I edited the config file, but it still isn't working. Does it take some time to refresh it?Edited with what editor?
Breakthecycle2
01-07-2012, 05:41 PM
notepad++, then re uploaded through FTP to the new server.
Yeah, I edited the config file, but it still isn't working. Does it take some time to refresh it?
If you had it all working with the new database yesterday and now you're getting that message today, you may need to contact your host about it.
Max Taxable
01-07-2012, 05:45 PM
class_core.php on line 314
What's there? Try commenting it out.
Breakthecycle2
01-07-2012, 05:47 PM
I don't see a line 314. Only goes to 194?
Line 315 is the one that opens the database connection. It seems pretty clear that the error is that the username/password you have configured for the database isn't working for some reason.
Is it possible that when you go to the site you're actually still going to the old server? It does take time for a domain name change to take effect. ETA:...or maybe it looked like it was working yesterday because it was still going to the old site, but the new site was never really working?
Breakthecycle2
01-07-2012, 06:02 PM
I had the previous hosting company update to the new server's DNS. That was completed this morning, which coincided with the 1000's of database email errors I am getting.
Oh..so yeah, the database information you have is somehow incorrect. Triple check it with what (I assume) they gave you for server, port, username, password, then if it still isn't working you'll need to contact them about it.
Breakthecycle2
01-07-2012, 06:04 PM
well, I doubled check the username and PW supplied by the new hosting company and changed it, now when I go to the site it says:
The website encountered an error while retrieving http://www.droid-tech.net/forum.php. It may be down for maintenance or configured incorrectly.
--------------- Added 1325963200 at 1325963200 ---------------
quick question (disregard that last post), but do I need to to transfer anything from my old server's database??
quick question (disregard that last post), but do I need to to transfer anything from my old server's database??
This isn't really my area, but: hopefully you exported your entire database and imported it at the new server? If you mean do you have to change any other settings, I don't think so.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.