#TIL : Mysql dumping only table structure

May 17, 2017 4 mins read 8d4302659

Mysql dumping only table structure

Adding -D to dump only data structure

Example :

$ mysqldump -h 127.0.0.1 -u root -p"something" -D database1 > db.sql
comments powered by Disqus