I need database structure only so I want to take dump of my database dump without its data. Is there any way to to take dump of the database without its data?
Answer No: 82
MySQL provides mysqldump utility to take dump of databases with several options. You can use mysqldump utility with --no-data option. Take an example to take dump of the database structure:
shell> mysqldump --password=root --user=root test > test_dump.sql --no-data
Comments
Add Comments
Found a bug? Or do you have a better solution for this? Feel free to leave a message: