mysql导出csv

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

SELECT a,b,c FROM my_table INTO OUTFILE '/ca.csv' FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n';