Skip to content

Instantly share code, notes, and snippets.

@adrianosaaquino
Last active August 29, 2015 14:16
Show Gist options
  • Save adrianosaaquino/5372dd87414ff65c07f9 to your computer and use it in GitHub Desktop.
Save adrianosaaquino/5372dd87414ff65c07f9 to your computer and use it in GitHub Desktop.
MySql - Create/Restore DUMP from schema structure, no data present
Create dump.
$ mysqldump -uroot -proot --no-data schema_name > file.sql
Restore dump.
$ mysql -uroot -proot schema_name < file.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment