#TIL : Mysql dumping only table structure


17 May 2017 / by KhanhIceTea

Adding -D to dump only data structure

Example :

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

Sound good ?