1、mysql数据导出命令(分隔符、编码)
select * from tablename into outfile'D:/xiaoshou.txt'
CHARACTER SET gbk ----导出文件编码
fieldsterminated by '#' ----列分隔符
lines terminatedby'|||'; ---- 行分隔符
2、mysql数据导入命令(分隔符、编码)
load data LOCAL infile 'D:/ftp/orderall.txt' into TABLE tablename
fields terminated by '#'
lines terminated by'|||';