Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Increase Import Size Limit in phpMyAdmin

Tags:

phpmyadmin

Does anyone know if or how you can increase the import size limit in phpMyAdmin? Currently my server is limited to 50MB.

Please note that this is not the same as the upload_max_filesize in php.ini. That value is set to 2MB.

I need to import a table into one of my DBs and the phpMyAdmin restriction of 50MB on the import is preventing me from doing that.

Thanks.

Amended -- attached are 2 screen shots:

Screen Shot #1 -- phpinfo() showing the php.ini settings. enter image description here Screen Shot #2 -- showing the phpMyAdmin import restriction enter image description here

like image 954
H. Ferrence Avatar asked Oct 03 '12 11:10

H. Ferrence


2 Answers

If you are using WHM/Cpanel then in order to change that "Max: 50MiB" limit in the import section of phpmyadmin, you will have to change two values in WHM (Web Host Manager).

Step 1) Go to Tweak settings, find the "cPanel PHP Max upload size" change it according to your needs. Save changes.

Step 2) Go to Tweak settings, find the "cPanel PHP Max POST size" change it according to your needs. Save changes.

Go back to your phpMyadmin. The value should have changed.

enter image description here

enter image description here

enter image description here

like image 125
Sharky Avatar answered Oct 09 '22 07:10

Sharky


I had the same problem with my working correctly by doing the following

changes into the php.ini file

post_max_size = 800M  upload_max_filesize = 800M  max_execution_time = 5000  max_input_time = 5000  memory_limit = 1000M  

now restart for the changes to take effect

like image 45
Edy Aguirre Avatar answered Oct 09 '22 08:10

Edy Aguirre