I want to export csv directly from mysql using command
SELECT .... FROM ... INTO OUTFILE '/tmp/export.csv' FIELDS TERMINATED BY ',' ESCAPED BY '\\' LINES TERMINATED BY '\n' ;
This work fine, but encoding is not utf8.How to make content exported with utf8 encoding?
source share