View Full Version : Database Error
TheTrueFan
12 Aug 2007, 23:38
I direct your attention to http://thetruefans.com/forums/
What do I do? New to vB :)
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'root'@'localhost' (using password: NO)
/home/thetruef/public_html/forums/includes/class_core.php on line 274
Incorrect settings in your config.php would be my suggestion. Check the database name and password.
TheTrueFan
12 Aug 2007, 23:47
Ah, muchas gracias.
EDIT: Which snipet do I edit, and what would I edit it as?
The file config file is in the includes folder, and you would make sure the mysql username / password and database are set to the correct mysql details for the DB.
What type of hosting are you on?
TheTrueFan
13 Aug 2007, 00:09
General Reseller.
I edited the database name to the correct one, and the mysql username and password to the login for my cPanel.. I can't remember if mysql user/pass is different from cPanel or not. If so, what is it?
The MySQL username and password are based on what you set them. You can delete the username (make sure its not the DB) and re-create with a password you know. Or send me a PM, I'll do a quick fix for you.
Mark
TheTrueFan
13 Aug 2007, 00:17
I see.
"D'OH!"
I think IPB is easier :P Thanks Odoin.
I've never used IPB, but I love vBulletin. After 5 + years of using it, still finding new things I can do with it :).
TheTrueFan
13 Aug 2007, 00:22
Haha problems still.
Check your PM :)
Should be set to go :).
Mark
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.