1

From the command line, how do I export all table structure in a mysql database and import into another. I dont need the table...just to create new tables in a new database.

1 Answer 1

2

mysqldump with the no-data option should do what you want.

mysqldump --no-data

http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html#option_mysqldump_no-data

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.