View Full Version : Can't connect to database?
Fulla
09-08-2012, 09:39 PM
I'm installing vbulletin. I've gotten to stage 3 and it says it cannot connect to database.
As far I know I have typed everything in correctly in the config.php.
I added a screenshot of what my site ays my database name is, but I've read on same places you need to put your username before or something? Would this be a correct 'db name' entry?'
'dbname'
'username'
'password'
are all correct so it must be that?
Please help?
snakes1100
09-08-2012, 10:13 PM
Is the host set correctly in config.php?
Id verify again & post up the actual db error message.
Fulla
09-08-2012, 11:16 PM
The host? What do you mean sorry?
The error message is the following:
"The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file."
snakes1100
09-08-2012, 11:19 PM
Is this set correctly?
$config['MasterServer']['servername'] = 'localhost';
Fulla
09-08-2012, 11:37 PM
Yes I did not edit that. I only changed dbname, username and password.
ForceHSS
09-08-2012, 11:38 PM
host u are with? Like godaddy you need to fill in the localhost with what they give you. You would be best to talk to your host see if they can help you
snakes1100
09-08-2012, 11:42 PM
Then you have entered one of the four entries relating to the db incorrectly.
Fulla
09-08-2012, 11:49 PM
I'm with 123-reg.
I figured that, but I copy pasted them correctly. As from my original message, do I need to put anything infront of the data base?
like username_databasename
or site_databasename ?
snakes1100
09-08-2012, 11:50 PM
Verify the db name in your host panel or thru phpmyadmin.
If your on a shared hosting acct, id check with the host or in your hosting panel for the correct database servername as well.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.