Skip to content

Instantly share code, notes, and snippets.

@MyklClason
Last active July 12, 2017 04:04
Show Gist options
  • Save MyklClason/08bf67d13220e5ee44dc2a3118bf08c1 to your computer and use it in GitHub Desktop.
Save MyklClason/08bf67d13220e5ee44dc2a3118bf08c1 to your computer and use it in GitHub Desktop.
Import from heroku MySQL database
Connection String
mysql://USERNAME:PASSWORD@HOST/DATABASE
Command line where FILENAME is file with data to be imported (filename.sql).
mysql -u USERNAME -pPASSWORD -h HOST DATABASE < FILENAME > import.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment