如何转储mysql数据库? [英] How to dump mysql database?
本文介绍了如何转储mysql数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想转储包含数据的表的mysql数据库,请给我您的建议.这更有用
I want to dump mysql database only the tables which have data, Can u please give me your suggestion. this is more helpful
感谢&问候, Vara Kumar.PJD
Thanks & Regards, Vara Kumar.PJD
推荐答案
You can use the --ignore-table option, but you have to find out which tables are empty first as this is not directly possible with mysqldump. So you could do
mysqldump -u username -p database --ignore-table=database.table1 --ignore-table=database.table2 > database.sql
这篇关于如何转储mysql数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文