Skip to content

Instantly share code, notes, and snippets.

@julianobarbosa
Created July 7, 2019 14:35
Show Gist options
  • Save julianobarbosa/c053d32cdc3d83fc8c9accea6e57663e to your computer and use it in GitHub Desktop.
Save julianobarbosa/c053d32cdc3d83fc8c9accea6e57663e to your computer and use it in GitHub Desktop.
Import a tar.gz file to MySQL
tar xzOf dump.sql.tar.gz | mysql -u $user -p $database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment