gunzip < /path/to/outputfile.sql.gz | mysql -u USER -pPASSWORD DATABASE
or
zcat /path/to/outputfile.sql.gz | mysql -u USER -pPASSWORD DATABASE

Advertisements