Created
February 1, 2014 14:08
-
-
Save willgarcia/25c163fdcbb6e8d9a078 to your computer and use it in GitHub Desktop.
mysql dump/import gz
This file contains hidden or 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
Exporting: | |
mysqldump -u user -p database | gzip > database.sql.gz | |
Importing: | |
gunzip < database.sql.gz | mysql -u user -p database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment