Posted By

tzvio on 06/10/13


Tagged

mysql Bash gunzip


Versions (?)

gunzip mysql import/export


 / Published in: MySQL
 

Import/export gunzipped compressed mysql database

  1. gunzip < database.sql.gz | mysql -u user -p database
  2.  
  3. mysqldump -u user -p database | gzip > database.sql.gz

Report this snippet  

You need to login to post a comment.