导出:
select * into outfile 'd:/ad.txt' from a limit 100;
导入:
load data local infile 'd:/ad.txt' into table a lines terminated by '\n';
导出:
select * into outfile 'd:/ad.txt' from a limit 100;
导入:
load data local infile 'd:/ad.txt' into table a lines terminated by '\n';
转载于:https://www.cnblogs.com/joshua317/articles/3861018.html