Skip to content

Instantly share code, notes, and snippets.

@pinzolo
Created April 19, 2012 01:27
Show Gist options
  • Save pinzolo/2417736 to your computer and use it in GitHub Desktop.
Save pinzolo/2417736 to your computer and use it in GitHub Desktop.
巨大なダンプファイルから MySQL を復元する
$ zcat huge_dump_file.gz | mysql -u [user] -p[password] [database]
$ nohup zcat huge_dump_file.gz | mysql -u [user] -p[password] [database] > result &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment