View Full Version : Database Issue - Please Help
Rocksuperman
07-06-2007, 08:06 PM
OK,
I put this thread in here as I believe it's generally vBulletin and not MySQL.. if it's not in the correct area, Staff please move it.
I have used DirectAdmin, moved to a different host and have done this:
1) Used MySQL Dumper to restore vBulletin.sql to a new database "wltd_forum"
2) Fully restored and working, and filled out the new config.php
3) I get a Database Error.. my email stated the following:
MySQL Error : Table 'wltd_forum.wltddatastore' doesn't exist
Error Number : 1146
I believe it may be because my old database wasn't called wltd_forum, and maybe a different header such as wltd_foruma (although I can't access what it used to be called).
Anyone who is able to help me fully will earn themselves $5 in PayPal as I appreciate the people who help here on vB.org. Without you guys I'd be stuck a lot of the time. :D
Cheers!
Delphiprogrammi
07-06-2007, 08:10 PM
OK,
I put this thread in here as I believe it's generally vBulletin and not MySQL.. if it's not in the correct area, Staff please move it.
I have used DirectAdmin, moved to a different host and have done this:
1) Used MySQL Dumper to restore vBulletin.sql to a new database "wltd_forum"
2) Fully restored and working, and filled out the new config.php
3) I get a Database Error.. my email stated the following:
MySQL Error : Table 'wltd_forum.wltddatastore' doesn't exist
Error Number : 1146
I believe it may be because my old database wasn't called wltd_forum, and maybe a different header such as wltd_foruma (although I can't access what it used to be called).
Anyone who is able to help me fully will earn themselves $5 in PayPal as I appreciate the people who help here on vB.org. Without you guys I'd be stuck a lot of the time. :D
Cheers!
No need to donate anything and you have found the cause of the problem yourself you cannot use a new config on a restored database (look at the tableprefix and such) it must match the variables also some control panels (i'm sure Cpanel does don't have directadmin) require you to use a specific format when connecting to MySQL (if you created the database through the control panel)
Rocksuperman
07-06-2007, 08:18 PM
So how would I fix this?
I used to use cPanel and now I use DirectAdmin.
Same version of vBulletin 3.6.7PL1.
I would need to know the old prefix "wltd_exampleold", create a new database with that name, and then insert the backup contents into that? I'm quite new to MySQL in general so a 'tutorial' to fix would be extremely appreciated by a newcomer to programming such as me :)
Thanks once again!
EnIgMa1234
07-06-2007, 08:21 PM
table prefix in config.php would be wltd
new database name would be whatever you used before
then just import using mysql dumper
Rocksuperman
07-06-2007, 08:26 PM
My original prefix is the same as the new one and is: wltd_
The database name is different - eg, old one = wltd_example and new = wltd_forum
EnIgMa1234
07-06-2007, 09:09 PM
make a new database with that name and import the backup to it
then change the settings in config.php
Rocksuperman
07-06-2007, 10:04 PM
OK,
My old database name was 'wltd_vbforum"
I have created a new database in DirectAdmin called 'wltd_vbforum' and have used MySQL Dumper to import the backup 'vbulletin.sql' and insert that data.
I have done that and changed the config.php settings.
I now get another Database Error. :(
I will keep messing around and will update you guys
digital_sc4rz
07-06-2007, 10:14 PM
What error you getting now ?
OK,
My old database name was 'wltd_vbforum"
I have created a new database in DirectAdmin called 'wltd_vbforum' and have used MySQL Dumper to import the backup 'vbulletin.sql' and insert that data.
I have done that and changed the config.php settings.
I now get another Database Error. :(
I will keep messing around and will update you guys as you are my only hope.
Rocksuperman
07-06-2007, 10:18 PM
Oddly enough I am waiting for it to send me the error message to my email.
For some reason it's not even doing that now.
I'll keep you all updated on the situation.
It turns out DirectAdmin doesn't require the prefix (wltd_) to be entered in the config.php like cPanel does.
Thanks for all the help guys - as always :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.