Mysql常用命令

导出命令

select * from b10 into outfile 'd:/b10.txt';

GBK格式导入 默认TAB分割

load data infile 'D:/test.txt' ignore into table b_1 character set gbk lines terminated by '\n'(user,conn);


load data infile 'D:/test.txt' ignore into table b_1 lines terminated by '\n'(user,conn);

posted @ 2017-08-23 21:25  朽木自雕也  阅读(109)  评论(0编辑  收藏  举报