I've used mysqlimport for MyISAM tables a lot in the past, without any problems. But now i want to import data into a InnoDB table and are facing the following problem: mysqlimport reports the following error and won't import anything:
mysqlimport: Error: 1062, Duplicate entry '1' for key 'PRIMARY', when using table: ...
... and i don't know how to resolve this error. The table i want to import the data into is freshly created, without any data. The table looks like the following:
CREATE TABLE `member` ( `member_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID of Member', ... PRIMARY KEY (`member_id`), ... ) ENGINE=InnoDB;
The data i want to import includes the "member_id", which is defined as "auto_increment" in the table. Of course there are no duplicate 'member_id' in the csv-file -- i've tripple-checked this. Can this cause any errors when importing into MySQL ... and if so: how can i resolve this?
MySQL Server version is: 5.5.8