Skip to content

Instantly share code, notes, and snippets.

@tomaskavalek
Last active August 14, 2017 05:20
Show Gist options
  • Save tomaskavalek/d00c8e95a632eaa8f5bb47572fcbdf84 to your computer and use it in GitHub Desktop.
Save tomaskavalek/d00c8e95a632eaa8f5bb47572fcbdf84 to your computer and use it in GitHub Desktop.
Import tar.gz into MySQL (MariaDB)
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