phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
655 stars 451 forks source link

413 Request Entity Too Large #413

Closed Artanisky closed 11 months ago

Artanisky commented 1 year ago

Hello, when trying to import data into a database (1 GB), it gives error 413 Request Entity Too Large image Although the limits have been raised to 4GB image

DockerFile image

config.user.inc.php image

How can this be fixed? Previously, when the db weighed less, everything worked (up to 1 GB)

williamdes commented 1 year ago

Reading your configuration, you should use 2G as a value or 4G if this is what you where meaning

williamdes commented 11 months ago

See: https://github.com/phpmyadmin/docker#environment-variables-summary

You should use UPLOAD_LIMIT=2G

andreas-aeschlimann commented 6 months ago

I tried to upload a 3GB file and my limit is set to 8G, the same error message appeared.

nguyenhai97 commented 2 months ago

I tried to upload a 3GB file and my limit is set to 8G, the same error message appeared.

Try to downgrade image to phpmyadmin:5.1.3, It work for me on Ubuntu 20.04.6 LTS

patrickwasp commented 2 weeks ago

@williamdes this is still an issue with the latest version of phpmyadmin. Setting an UPLOAD_LIMIT to 4096M for example will not let you upload a 2 GB file if you're using phpmyadmin:5.2.1 but the same configuration will work if using phpmyadmin:5.1.3.