Guest Aznet1 Posted September 30, 2007 Share Posted September 30, 2007 My web host vanished so I'm trying to get my backup fully working, all but 2 of my sql tables loaded fine, I manually loaded the queries 1 at a time. The site is up and working fine as well but I'm missing those tables. Here's the errors, not sure how to remedy this, any help would be greatly appreciated. ********************************************** SQL query: CREATE TABLE CubeCart_Modules( moduleId int( 11 ) NOT NULL AUTO_INCREMENT , module varchar( 10 ) NOT NULL default '', folder varchar( 30 ) NOT NULL default '', STATUS smallint( 1 ) NOT NULL default '0', defaultint( 1 ) NOT NULL default '0', KEY moduleId( moduleId ) ) TYPE = MYISAM ; MySQL said: #1064 - 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 'default int(1) NOT NULL default '0', KEY moduleId (moduleId) ) TYPE=MyISAM' at line 6 ************************************************** SQL query: CREATE TABLE CubeCart_admin_permissions( permissionId int( 11 ) NOT NULL AUTO_INCREMENT , sectId int( 11 ) NOT NULL default '0', adminId int( 11 ) NOT NULL default '0', READ int( 11 ) NOT NULL default '0', WRITE int( 11 ) NOT NULL default '0', edit int( 11 ) NOT NULL default '0', DELETE int( 11 ) NOT NULL default '0', PRIMARY KEY ( permissionId ) ) TYPE = MYISAM ; MySQL said: #1064 - 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 'read int(11) NOT NULL default '0', write int(11) NOT NULL default '0', edi' at line 5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.