vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB Database Error (https://vborg.vbsupport.ru/showthread.php?t=320027)

rockerzteam 08-26-2015 02:32 PM

VB Database Error
 
Im trying to restore a backup to a new host new domain and getting this error.


Code:

Database error in vBulletin :

Invalid SQL:

                        SELECT *
                        FROM datastore
                        WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','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*

Code:

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*


All times are GMT. The time now is 08:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01028 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete