Log in

View Full Version : VB Database Error


rockerzteam
08-26-2015, 02:32 PM
Im trying to restore a backup to a new host new domain and getting this error.


Database error in vBulletin :

Invalid SQL:

SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache','usergroupcache','stylecache','languagecach e','products','pluginlist','cron','profilefield',' loadcache','noticecache');

MySQL Error : Table 'xxxxxxx.datastore' doesn't exist
Error Number : 1146
Request Date : Wednesday, August 26th 2015 @ 11:30:28 AM
Error Date : Wednesday, August 26th 2015 @ 11:30:28 AM
Script : http://xxxxxxxxx.com/install/upgrade.php
Referrer :
IP Address : xx.xx.xx.xx
Username :
Classname : vB_Database
MySQL Version : 5.5.42-37.1

Seven Skins
08-26-2015, 02:48 PM
Your datastore table is missing.
Check your backup to see if datastore table is there else if you still have access to old site make another backup and restore.

rockerzteam
08-26-2015, 03:01 PM
*New Error after just deleting and starting over*

Database error in vBulletin 3.8.7:

Invalid SQL:

CREATE TABLE IF NOT EXISTS adv_setting (
varname varchar(100) NOT NULL default '',
grouptitle varchar(50) NOT NULL default '',
value mediumtext NOT NULL,
defaultvalue varchar(250) NOT NULL default '',
optioncode mediumtext NOT NULL,
displayorder smallint(3) unsigned NOT NULL default '0',
serialize smallint(3) unsigned NOT NULL default '0'
) TYPE=MyISAM;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9
Error Number : 1064
Request Date : Wednesday, August 26th 2015 @ 12:00:33 PM
Error Date : Wednesday, August 26th 2015 @ 12:00:33 PM
Script : http://xxxxxxx.com/admincp/vbacmps_install.php
Referrer : http://xxxxxxx.com/admincp/vbacmps_install.php
IP Address : xxxxxxxxxx
Username : xxxxxxxx
Classname : vB_Database
MySQL Version : 5.5.42-37.1

Lynne
08-26-2015, 03:40 PM
You need to change where it says "TYPE" to "ENGINE". If you need more help with that modification, you need to ask over on the vbadvanced site.

rockerzteam
08-27-2015, 01:30 AM
*Close*