PDA

View Full Version : Database Error


TheTrueFan
08-12-2007, 10:38 PM
I direct your attention to http://thetruefans.com/forums/

What do I do? New to vB :)

TTG
08-12-2007, 10:40 PM
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
08-12-2007, 10:47 PM
Ah, muchas gracias.

EDIT: Which snipet do I edit, and what would I edit it as?

Odoin
08-12-2007, 11:06 PM
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
08-12-2007, 11:09 PM
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?

Odoin
08-12-2007, 11:16 PM
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
08-12-2007, 11:17 PM
I see.

"D'OH!"

I think IPB is easier :P Thanks Odoin.

Odoin
08-12-2007, 11:20 PM
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
08-12-2007, 11:22 PM
Haha problems still.

Check your PM :)

Odoin
08-13-2007, 12:17 AM
Should be set to go :).

Mark