Mysql 备份还原 select ... into outfile 和load data

1、select ...into outfile ....

备份:

select  * from t_name into outfile '/tmp/t_name.sql';

还原:

>load data infile ‘/tmp/t_name.sql' into  table t_name;

猜你喜欢

转载自blog.csdn.net/pang_2899/article/details/92850476
今日推荐