Skip to content

Instantly share code, notes, and snippets.

@mihkels
Created March 4, 2013 07:06
Show Gist options
  • Save mihkels/5080555 to your computer and use it in GitHub Desktop.
Save mihkels/5080555 to your computer and use it in GitHub Desktop.
Load multiple dump files into database
zcat dump_one.sql.gz | mysql --user=root --password=root db1 && zcat dump_2.sql.gz | mysql --user=root --password=root db2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment