May 122011
Dump the table schema of a MySQL database
Answer:
To dump the schema of a MySQL database (hence, no data), you need just one command:
E.g.
# mysqldump my_db my_table --no-data
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Dump the table schema of a MySQL database
Answer:
To dump the schema of a MySQL database (hence, no data), you need just one command:
E.g.
# mysqldump my_db my_table --no-data