Skip to content

Instantly share code, notes, and snippets.

@jcandan
Created June 11, 2015 15:18
Show Gist options
  • Save jcandan/cc328e7baca8f6434cd1 to your computer and use it in GitHub Desktop.
Save jcandan/cc328e7baca8f6434cd1 to your computer and use it in GitHub Desktop.
Bash command line to Unzip and consume an SQL file into MySQL
$ gunzip < /path/to/file.sql.gz | mysql db_name;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment