PDA

View Full Version : New installation database connection problem



snowleopard55
Fri 27th Jun '08, 7:15pm
Greetings--I'm new as a vBulletin owner, but I've been a user of your software for years on other forums and you were my first choice for the forum I'm setting up.

I'm getting an error that my host (BlueHost) and I cannot figure out and hope that you will be able to.

When I run the install script, it gets to step 2 and this happens:

Step 2) Connect to the database
Attempting to attach to database
Connect failed: unexpected error from the database.
Error number: 1046
Error description: No database selected
Please ensure that the database and server is correctly configured and try again.


My configuration settings are these:
$config['Database']['dbtype'] = 'mysqli';
$config['Database']['database'] = 'teamarch_forum1';
$config['Database']['tableprefix'] = 'vB_';
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['username'] = 'teamarch_admin';
$config['MasterServer']['password'] = 'xxxxxxxxxxx'; (i've checked 100 times, it's right)
Attached is a snag of my control panel showing that the user and the database exist.

http://i17.photobucket.com/albums/b78/snowleopard55/Misc/dbs_exist.jpg

All other settings are defaults except my email.

Suggestions please?

copiertalk
Fri 27th Jun '08, 7:53pm
// This must be created by your webhost.
$config['Database']['dbname'] = '';

do you have that part filled in?

snowleopard55
Fri 27th Jun '08, 8:06pm
OMG! You did it! I did it! I had overwritten that value somehow and missed getting it back to the right thing.

I'm in and thank you VERY much for your quick response.

--bianca

copiertalk
Fri 27th Jun '08, 10:05pm
You are more than welcome, glad it helped. Every upgrade I managed to mis-spell or change the wrong setting in that file. I am still learning as well.

Enjoy your weekend, play with the buttons. The only way to learn is to use it.