Usa LOAD DATA:LOAD DATA INFILE '/tmp/test.txt' INTO TABLE test FIELDS TERMINATED BY ',';Documentazione: LOAD DATA.