select * from xi_table into outfile 'd:\xi.xls';
没想到这么简单。
导出为txt文件:
select * from xi_table into outfile 'd:\xi.txt';