Skip to content

Instantly share code, notes, and snippets.

@cantin
Created November 8, 2012 04:10
Show Gist options
  • Save cantin/4036735 to your computer and use it in GitHub Desktop.
Save cantin/4036735 to your computer and use it in GitHub Desktop.
msyql dump
--export
mysql -u user -p password database_name > export.sql
mysql -u user -p password database_name table_name > export.csv
--import
mysql -u user -p password
source export.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment