mysqldump还有一个参数,就是--where 指定条件,这样我们就可以对一张表里的某些符合条件的数据,进行备份,导出.sql文件了

mysqldump -u root -p DB_Name --no-create-db=TRUE --no-create-info=TRUE --add-drop-table=FALSE --where="id>1000" Table_Name>导出文件名.sql;



原文链接:http://www.jianshu.com/p/c12f9ca13c6b
“简书作者”。

相关文章:

  • 2022-01-06
猜你喜欢
  • 2022-01-01
  • 2022-02-10
  • 2022-01-10
  • 2022-12-23
  • 2021-11-30
  • 2021-11-28
相关资源
相似解决方案