PhpMyAdmin import error

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

Every time I try to import, I get this error:

Error in ZIP archive: compressed size is not equal to the value in the header information.

I tried to export the file again and used different compression applications, but always get the same error.

How can i fix this?

+3
source share
3 answers

I don’t know what the reason is, but you can fix it by renaming the file in .gz for example database.sql.zip to database.sql.gz or if your program supports it, you can compress it into a .gz file in the first place - this will also fix the problem

+1
source

- (StartLogic).

Guitar MacUpdate .sql gzip. .

+1

AFAIK, this error is caused by a damaged ZIP at boot time.

You can try and extract the zip and load the actual sql.

0
source

Source: https://habr.com/ru/post/1732800/


All Articles