将mysql导入到csv语句为:
load data infile 'C:\\Users\\ankreran\\Desktop\\a.csv'
into table test1
fields terminated by ',' optionally enclosed by '"' escaped by '"'
lines terminated by '\r\n';
如果报错误“AX\SA\FS”这种,则表示csv的编码格式不对,用Editplus打开该csv文件,另存为utf8格式的,然后再导入。