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
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