I want to export a MySQL database through the command line with the following two conditions, as shown below,
- Only export database table structure.
- But during the data export, I want to export the specified data and the table structure that are mentioned in the command.
I have a database that contains 60 tables, and of these, one table with a name Countrycontains static values. Therefore, I want to export my data also to the exported file, and the rest of the tables contain only the structure in the exported file.
Can someone suggest me a MySQL command to dump a database based on the above conditions?
source
share