Last active
February 4, 2016 13:23
-
-
Save ryannealmes/d112483d59563bc11499 to your computer and use it in GitHub Desktop.
mysql database dumps + restores
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
Dump: | |
mysqldump -u USERNAME -p PASSWORD DBTODUMP > /path/to/DUMPFILE.sql | |
Import: | |
mysql -u USERNAME -p PASSWORD DBTOIMPORTTO < /path/to/DUMPFILE.sql/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment