Error Restoring Backup
-
I have backed up my current WordPress Site using the WordPress Database Backup v1.8 Plugin. When I try and restore this to a new Database (as I am moving hosting providers) I get the following error:
Error
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_parentbigint( 20 ) NOT NULL default ‘0’,
category_countbigint( 20 ) NOT NULL default ‘0’,
PRIMARY KEY (cat_ID) ,
KEYcategory_nicename(category_nicename)
)ENGINE = MYISAM DEFAULT CHARSET = latin1MySQL 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’ at line 10
Presumably it’s the Default Characterset that’s the problem. How do I find what Default Characterset I should be using? I’m using phpMyAdmin 2.5.7-pl1 on the new database.
Unfortunately, my knowledge of MySQL is very very limited, so apologies if this appears to be a very dumb question!
The topic ‘Error Restoring Backup’ is closed to new replies.