Import .sql.gz form the command line

Posted one year ago

zcat file.sql.gz | mysql -u user -p db_name