Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I get "Failed - Network error" when exporting database from phpMyAdmin [closed]

I always find that error every time I export a database from phpMyAdmin using XAMPP. This is what it looks like, but, if I download another file from YouTube, or Pinterest, or any other site, then there will not be any problem.

I ask my university friends, and most of them don't have the solution, because most of them don't have a problem like that.

like image 308
057 Ahmad Hilman D Avatar asked Sep 09 '25 20:09

057 Ahmad Hilman D


2 Answers

Downgrading to an older PHP version solves this problem. phpMyAdmin 5.1.3 currently has issues with PHP 8.1. So, I downgraded to 7.4.28.

like image 55
Samit Avatar answered Sep 12 '25 12:09

Samit


There had been a bug or change with how PHP handles setting headers which had affected phpMyAdmin, but it has been worked around by phpMyAdmin starting with releases 5.1.4 and 5.2.0 which were published on 2022-05-10.

There's a phpMyAdmin bug report with quite a bit of discussion if you want the back history on this.

Edit: Updated the answer because the fix has been released.

like image 26
Isaac Bennetch Avatar answered Sep 12 '25 12:09

Isaac Bennetch