I am trying to import a large CSV file into a toolforge MySQL table:
jsub -mem 4g -cwd mysqlimport --defaults-file=replica.my.cnf --local -h tools.db.svc.eqiad.wmflabs --ignore-lines 1 --fields-terminated-by=, s51434__uprn_p /shared/external-data/OpenUPRN/osopenuprn_202006.csv
This does, repeatedly, not succeed:
/usr/bin/mysqlimport: Error: 2013, Lost connection to MySQL server during query, when using table: osopenuprn_202006
It does work with a small test subset (100 rows).
How can I import the full file?