MySQL Forums
Forum List  »  General

ERROR 1406 (22001): Data too long for column
Posted by: thorsten.moeller
Date: April 03, 2006 07:28AM

Hi i need to import a file to a table using load data infile :

Here is the result:

mysql> LOAD DATA INFILE 'd:/temp/emmi/test.txt' INTO TABLE test FIELDS TERMINATED BY '¿' ENCLOSED BY '|' LINES TERMINATED BY '\r\n';

ERROR 1406 (22001): Data too long for column '1' at row 1

I read all the posts in all forums concerning this problem and tried a variety of other combinations of terminators but always get the same result.

The first column of the first row is like this : |test_me@test.de|¿

Any ideas what can help??

Thorsten

Options: ReplyQuote


Subject
Written By
Posted
ERROR 1406 (22001): Data too long for column
April 03, 2006 07:28AM


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.