I have a large CSV file that's 100G and has 180 million rows. I need to import this file into MariaDB.
I used mysqlimport, and after three hours of running I get error 2013. If I run a select on the table after the error is thrown, the table is empty.
How to upload a very large file in MariaDB? How to fix this problem?
C:\Users\pgsch\Downloads>mysqlimport --verbose --local -u user01 -p bank_0001_test fm_loans fm_loans --fields-terminated-by="|"
Enter password: ********
Connecting to localhost
Selecting database bank_0001_test
Loading data from LOCAL file: C:/Users/pgsch/Downloads/fm_loans into fm_loans
mysqlimport: Error: 2013, Lost connection to MySQL server during query, when using table: fm_loans