Author Topic: 413 Request Entity Too Large by phpmyadmin  (Read 1701 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
413 Request Entity Too Large by phpmyadmin
« on: January 22, 2017, 07:54:04 AM »
413 Request Entity Too Large
When I upload a database.sql I get this error.

nginx
this problem by phpmyadmin

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #1 on: January 22, 2017, 03:04:54 PM »
Try to use mysql dumpers to import/export large databases and any kind of large entities. eg. mysqldumper.net
Or if you are familiar with shell you can simply use
Code: [Select]
mysql -uUSER -pPASSWORD database_name < file_name.sql
I had same problem but I didn't even try to find solution to fix that because I used shell cmd to import fajl, it's easier than searching for a solution.

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #2 on: January 22, 2017, 08:37:48 PM »
I have same problem

Offline
*****
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #3 on: January 23, 2017, 08:44:18 AM »
Code: [Select]
client_max_body_size 500M;

Add this line in /usr/local/cwpsrv/conf/cwpsrv.conf under http {

then restart the cwp
Code: [Select]
systemctl restart cwpsrv.service


you can increase or decrease client_max_body_size - 500M to the desired value according to your needs

also applied to rouncube and phpmyadmin
« Last Edit: January 23, 2017, 09:00:01 AM by Sandeep »

Offline
*****
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #4 on: January 23, 2017, 08:55:58 AM »
to increase php upload limit modify php.ini memory limit :
/usr/local/cwp/php71/php.ini

then restart the cwp and  cwp php
Code: [Select]
systemctl restart cwpsrv.service
Code: [Select]
systemctl restart cwp-phpfpm.service
also applied to rouncube and phpmyadmin
« Last Edit: January 23, 2017, 08:58:13 AM by Sandeep »

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #5 on: January 24, 2017, 05:45:18 AM »
Thank you,

I encountered the same problem with a 1.8MB SQL file and CentOS 7

The solution solved my problem

Code: [Select]
client_max_body_size 500M;
« Last Edit: January 24, 2017, 05:52:11 AM by OfficePlus NC »

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #6 on: January 31, 2017, 03:35:31 PM »
Not helping for me.
I change this line but still cant import SQL 1MB

Online
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #7 on: January 31, 2017, 10:53:12 PM »
if this is centos 7 then try

Code: [Select]
yum -y remove cwpsrv
yum -y install cwpsrv
/scripts/restart_cwpsrv
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #8 on: February 01, 2017, 05:23:09 AM »
if this is centos 7 then try

Code: [Select]
yum -y remove cwpsrv
yum -y install cwpsrv
/scripts/restart_cwpsrv

unfortunately It did not work for me

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #9 on: March 06, 2017, 01:20:29 PM »
Not helping for me.
I change this line but still cant import SQL 1MB

Same here... any1 find a solution to fix the import database at phpmyadmin?

Offline
*
Re: 413 Request Entity Too Large by phpmyadmin
« Reply #10 on: March 23, 2017, 12:34:37 PM »
Same here too!