mysql import error
-
Hi there
I have exported a mysql database from my local server and I am trying to import it to my remote server using php admin. After I try to import it I get this error
#1064 – You have an error in your SQL syntax.
it points me to the last line of this piece of code
CREATE TABLE
wp_categories
(
cat_ID
bigint(20) NOT NULL auto_increment,
cat_name
varchar(55) NOT NULL default ”,
category_nicename
varchar(200) NOT NULL default ”,
category_description
longtext 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 AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;I realise I can open it in a code editor but I have no idea what I am looking at and why it is wrong.
Any help would be greatly appreciated.
- The topic ‘mysql import error’ is closed to new replies.