Skip to content

Instantly share code, notes, and snippets.

@ryannealmes
Last active February 4, 2016 13:23
Show Gist options
  • Save ryannealmes/d112483d59563bc11499 to your computer and use it in GitHub Desktop.
Save ryannealmes/d112483d59563bc11499 to your computer and use it in GitHub Desktop.
mysql database dumps + restores
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