Skip to content

Instantly share code, notes, and snippets.

@julianobarbosa
Created July 7, 2019 14:38
Show Gist options
  • Save julianobarbosa/5ceb450f0d0e24b89afe8bfbec32de1d to your computer and use it in GitHub Desktop.
Save julianobarbosa/5ceb450f0d0e24b89afe8bfbec32de1d to your computer and use it in GitHub Desktop.
Import sql.gz file to MySQL
zcat myfile.sql.gz | mysql -u root -ppassword mydb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment