Claim your Biolink Click Here
0 like 0 dislike
331 views
Import CSV File Into MySQL Table without break any row and column
in Education & Reference by (1.1k points) | 331 views

1 Answer

0 like 0 dislike

LOAD DATA LOCAL INFILE 'D:\aaabbb.txt' INTO TABLE table_name FIELDS
TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';

by
0 0
Sometimes this works with \r

LOAD DATA LOCAL INFILE 'D:\TEST.csv' INTO TABLE TABLENAME FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n';

Related questions

0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 26, 2015 in Education & Reference by Simmi (830 points) | 438 views
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 6, 2015 in Education & Reference by Sam (1.6k points) | 251 views
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,308 questions
1,469 answers
568 comments
4,809 users