How to Increase Import Size Limit in phpMyAdmin

H. Ferrence picture H. Ferrence · Oct 3, 2012 · Viewed 321.7k times · Source

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

Answer

Sharky picture Sharky · Oct 17, 2013

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

Full details here:

http://crosstown.coolestguidesontheplanet.com/web-host/37-increase-upload-database-size-for-cpanel-and-phpmyadmin-server