Answer the question
In order to leave comments, you need to log in
How to fully import CSV into mysql?
In general, there is a csv file with 2.8M lines of data entered by users into the form.
It needs to be fully loaded into mysql table.
mysql> load data local infile 'myfile.csv' into table t1 fields terminated by ','
-> enclosed by '"'
-> lines terminated by '\n';
Query OK, 698770 rows affected, 65535 warnings (1 min 28.19 sec)
Records: 1432489 Deleted: 0 Skipped: 733719 Warnings: 3910895
Answer the question
In order to leave comments, you need to log in
I also had problems with this for a long time, this plugin for Excel helped here
https://www.mysql.com/why-mysql/windows/excel/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question