Skip to content

Instantly share code, notes, and snippets.

@williankeller
Created November 9, 2017 14:05
Show Gist options
  • Save williankeller/9841ad5283ec87f4194230cbcbf6b25c to your computer and use it in GitHub Desktop.
Save williankeller/9841ad5283ec87f4194230cbcbf6b25c to your computer and use it in GitHub Desktop.
Command to 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