Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpMyAdmin Import Error

Tags:

phpmyadmin

I am trying to import a database using phpMyAdmin. The file is compressed in a .zip.

Every time I try the import I get this error:

Error in ZIP archive: Compressed size is not equal with the value in header information.

I've tried exporting the file again and and used different applications to compress it but I always get the same error.

How can I fix this?

like image 422
a1anm Avatar asked Jun 11 '26 03:06

a1anm


1 Answers

i dont know whats the reason for it, but you can fix this by rename the file to .gz e.g. database.sql.zip to database.sql.gz or if your program supports it, you can compress it to a .gz file in the first hand - this will also fix the problem

like image 88
stif Avatar answered Jun 18 '26 03:06

stif



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!