Snippets v2

Languages
My Snippets

Import a Gzipped Mysql Dump file Login or Register to Bookmark this snippet

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 Contact JC

Added by JC on 24th July, 2008

Comments

There are no comments about this snippet.

Post Comment HTML is allowed

You must be registered and logged in to post a comment.

Login here to post a comment