Syntax error when restoring database
-
when uploading the file that contains the backup from my old wordpress database (changing host), I get this message. I’ve got no clue what to do about it:
SQL-query:
CREATE TABLE
wp_categories(cat_IDbigint( 20 ) NOT NULL AUTO_INCREMENT ,
cat_namevarchar( 55 ) NOT NULL default ”,
category_nicenamevarchar( 200 ) NOT NULL default ”,
category_descriptionlongtext NOT NULL ,
category_parentint( 4 ) NOT NULL default ‘0’,
PRIMARY KEY (cat_ID) ,
KEYcategory_nicename(category_nicename)
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =4
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 CHARSET=latin1 AUTO_INCREMENT=4’ at line 9
The topic ‘Syntax error when restoring database’ is closed to new replies.