PDA

View Full Version : Unable to select database after upgrade



smitts
Wed 10th Jan '07, 9:08pm
I copied my forums database over to my new host (VPS) and decided to upgrade to 3.6 at the same time.

I restored the database fine and went through all of the steps for upgrading fine.

Now when I try to access any forum page I get
Unable to select database

The user is set up properly, since the connect was successful. I have checked the mysql permissions and the user has select capability.

Using mysql from the shell, I am able to connect, select the database and look at table data. I can also connect through a test php script I created that just uses mysql_connect and mysql_select_db

I'm all out of ideas...

Thanks!

Interdit
Thu 11th Jan '07, 5:07am
You don't have more error logs details, such the ones received by email ?

Are you sure it's not related to a plugin ?

Was the forum working fine on your new VPS before the upgrade ?

smitts
Thu 11th Jan '07, 5:42am
No emails sent all that shows is unable to select database

Not the normal vbulletin scheme.

Could be a plugin I guess. I did a new installation, I'm not sure whether the plugins carry over to new versions, how do you disable plugins without the admincp?

I didn't try it without the upgrade. However, I did try just 3.6.4 by itself (just empty new installation), which seemed to run fine.

Boxy
Thu 11th Jan '07, 7:52am
To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);