Last active
January 11, 2016 19:20
-
-
Save cmpscabral/a4bf395d17015e100705 to your computer and use it in GitHub Desktop.
mysql import from tar.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
# tar.gz | |
tar -xzOf your_db_dump.sql.tar.gz | mysql -u USERNAME -pPASSWORD your_database | |
# sql.gz | |
pv mydump.sql.gz | gunzip | mysql -u root -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment