Gunzip: File too large error

Hello All,

I'm trying to write a script to load the MySQL DB from a dump file but the unzipping doesnt seem to work, not sure whats the issue, i get below error

bash>gunzip mysql2-dump.gz

gunzip: mysql2-dump: File too large
bash >

can anyone pls let me know how to sort this out?

Thanks!!

Try

gunzip < mysql2-dump.gz  > mysql2-dump

Be sure there is enough free space where you are placing mysql2-dump

Thanks a lot, it works fine :slight_smile: