PDA

View Full Version : Error: database has failed to connect...


Opteknerv
04-07-2001, 11:07 PM
Sorry if this question is getting old. I searched through the threads and never found a complete answer to my question, so any help would be very much appreciated.

I'm attempting to install v2 of vBulletin and have run into problems almost immediately. I feel I've followed the instructions to the letter, but continue to get errors on step 3 of the install. I've emailed my host (Futurequest.net) and they claim mysql is active and running properly. I'm sure they have the right components since it was their suggestion to install vBulletin (UBB was pounding their server). I've tripled checked the info on the config.php file and have even tried a few different variables and I still get the same error:

"vBulletin Install Script

(Note: Please be patient as some parts of this may take quite some time.)

Attempting to attach to database...

The database has failed to connect because you do not have permission to connect to the server. Please go back to the last step and ensure that you have entered all your login details correctly.

Click to go to the vBulletin website"

Here's the config.php file:
===================
<?php
/////////////////////////////////////////////////////////////
// Please note that if you get any errors when connecting, //
// that you will need to email your host as we cannot tell //
// you what your specific values are supposed to be //
/////////////////////////////////////////////////////////////

// type of database running
// (only mysql is supported at the moment)
$dbservertype=&quot;mysql&quot;;

// hostname or ip of server
$servername=&quot;localhost&quot;;

// username and password to log onto db server
$dbusername=&quot;x12ozprophet&quot;;
$dbpassword=&quot;xxxxxxxx&quot;;

// name of database
$dbname=&quot;x12ozprophet&quot;;

// allow password viewing / editing in control panel
// 0 = not visible or editable
// 1 = not visible, but can be edited
// 2 = visible and can be edited
$pwdincp=2;

// technical email address - any error messages will be emailed here
$technicalemail = &quot;webmaster@12ozprophet.com&quot;;

// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect = 1;

?>
===================

Here's the link to the install file:

http://www.12ozprophet.com/forum/ad...all1.php?step=1

Thanks in advance for any help provided...

Opteknerv
04-07-2001, 11:16 PM
Also, I've tried using &quot;mysql.12ozprophet.com&quot; as the host name even though on the vBulletin site they say not to do it this way.

Terra
04-08-2001, 12:11 AM
This is a legacy issue where 'mysql.12ozprophet.com' was never issued...

Funny you mention this as my entire weekend is devoted to assigning 'mysql.????????.???' subdomains to all valid MySQL accounts...[nbsp][nbsp]It is a work very much in progress at the moment...

I've gone ahead and issued yours manually and should start resolving shortly...

Also, I've tried using &quot;mysql.12ozprophet.com&quot; as the host name even though on the vBulletin site they say not to do it this way. I have no idea why they say not to do it that way, as it is just using a TCP/IP connection to backside dedicated MySQL engines - instead of to a localhost socket where the engines are on the web servers themself...

Oh well, I'm recommending you do use 'mysql.12ozprophet.com', else you will not be able to connect to your database...[nbsp][nbsp];)

--
Terra
--So much legacy through evolution, with so little time to update it all--
FutureQuest

Opteknerv
04-08-2001, 12:43 AM
Not sure if you've made the changes to my account already, but it's been about 45 minutes since your post and I'm still gettingt he same error messages even after changing the host name to mysql.12ozprophet.com. Am I being impatient or is there still some problem I'm not seeing?

Opteknerv
04-08-2001, 12:51 AM
just worked. Thankyou much. I appreciate you spending your saturdays helping nerds like me.