数据库
首页 > 数据库> > mysql数据库中利用select into outfile实现数据的备份与还原

mysql数据库中利用select into outfile实现数据的备份与还原

作者:互联网

mysql数据库中利用select into outfile实现数据的备份与还原

主要命令如下:

备份命令select into outfile

SELECT * FROM book2 WHERE price > 75 into outfile 'D:\\book2.txt';

恢复命令load data infile

load data infile 'D:\\book2.txt' into table book2;

标签:load,into,outfile,book2,mysql,备份,select
来源: https://blog.csdn.net/czh500/article/details/100846544