Skip to content

Instantly share code, notes, and snippets.

@atainton
Forked from ryannealmes/gist:d112483d59563bc11499
Created February 4, 2016 13:23
Show Gist options
  • Save atainton/4c8787bb44dd2cfb289c to your computer and use it in GitHub Desktop.
Save atainton/4c8787bb44dd2cfb289c 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