MySQL Forums
Forum List  »  Other Migration

cannot import database
Posted by: Wendy Kaisara
Date: May 24, 2012 03:36PM

Hi,
I am using wampserver 2.2 and am trying to import script to create table customers:
CREATE TABLE IF NOT EXISTS `customer` (
`customerID` int(12) NOT NULL auto_increment,
`customerName` varchar(20) NOT NULL,
`address` varchar2(30) NOT NULL,
PRIMARY KEY (`customerID`)
) ENGINE=InnoDB;

But im getting this error:

#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 'varchar2(30) NOT NULL,
PRIMARY KEY (`customerID`)
) ENGINE=InnoDB' at line 14

Please help.



Edited 1 time(s). Last edit at 05/24/2012 03:51PM by Wendy Kaisara.

Options: ReplyQuote


Subject
Views
Written By
Posted
cannot import database
5759
May 24, 2012 03:36PM
1954
June 03, 2012 05:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.