Created
March 12, 2015 15:54
-
-
Save adrianosaaquino/12b7dd95aff77434b8fc to your computer and use it in GitHub Desktop.
MySql - Create/Restore DUMP with structure and data
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 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