1.导出:select * from user into outfile '/tmp/bb.dat' fields terminated by ',' lines terminated by '\n'
2.导入:load data infile '/tmp/bb.dat' into table user fields terminated by ',' lines terminated by '\n';
mysql output备份数据库
猜你喜欢
转载自govoboxx.iteye.com/blog/2000066
今日推荐
周排行