MySQL has a nice CSV import function LOAD DATA INFILE.
LOAD DATA INFILE
I have a large dataset that needs to be imported from CSV on a regular basis, so this feature is
I'd just pre-process it. A global search/replace to change \r\n to \n done from a command line tool as part of the import process should be simple and performant.