Import a Gzipped Mysql Dump file

Description Bash

By piping the output of zcat to mysql, you don't need to unzip the contents of the gzipped file before importing it.

The Code Download

  1. zcat businessbuilder.dump.2 | mysql -u username -p password database_name

Credits

Added by JC on 24th July 2008

Comments

There are no comments about this snippet.

Post Comment Github Markdown Supported

You must be logged in to post a comment.

Login here to post a comment