Using a custom row-delimiter
suggest changeThis example is useful for Windows-style endings. In single quotes the shell passes \r\n through, and mysqlimport turns those escapes into CR LF.
$ mysqlimport --lines-terminated-by='\r\n' mycompany employee.txt
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents