Reputation: 769
I need to take back up of MySQL database,but condition is that back up file should contains only tables that contains data, and there should be an create and drop statements too.
I checked mysqldump
manual pages, didn't get options.
Upvotes: 0
Views: 463
Reputation: 18531
If you know the tables that contain data, why do you not simply selectively dump those tables?
mysqldump [options] [db_name [tbl_name ...]]
Upvotes: 1