Last active
August 29, 2015 14:16
-
-
Save adrianosaaquino/5372dd87414ff65c07f9 to your computer and use it in GitHub Desktop.
MySql - Create/Restore DUMP from schema structure, no data present
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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