Importing from old blog to new blog (on new server)
-
Okay I went through the backup step by step guide for the wordpress databases, which went without a hitch, then I tried to import the database to my new server (through php myadmin) and I got an error straight away:
SQL query:
CREATE TABLE
bl_categories
(
cat_ID
bigint( 20 ) NOT NULL AUTO_INCREMENT ,
cat_name
varchar( 55 ) COLLATE latin1_general_ci NOT NULL default ”,
category_nicename
varchar( 200 ) COLLATE latin1_general_ci NOT NULL default ”,
category_description
longtext COLLATE latin1_general_ci NOT NULL ,
category_parent
bigint( 20 ) NOT NULL default ‘0’,
category_count
bigint( 20 ) NOT NULL default ‘0’,
PRIMARY KEY (cat_ID
) ,
KEYcategory_nicename
(category_nicename
)
) ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ciMySQL 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 ‘collate latin1_general_ci NOT NULL default ”, `category_nice
I don’t know where I went wrong, so I really need some help here.
I also tried to export my posts as an xml file and import the file into the new blog, a success message came up but my posts/categories aren’t there at all.
Please help! Thanks!
- The topic ‘Importing from old blog to new blog (on new server)’ is closed to new replies.