Phpmyadmin upload error

Fatal error: Maximum execution time of 300 seconds exceeded with phpMyAdmin

In the past, when trying to upload a database, PHPMyAdmin will not work and will throw the error;

***Fatal error: Maximum execution time of 300 seconds exceeded***

This will usually occur when uploading very large mysql databases. To repair this issue, you will need to edit the

located inside the /usr/local/cpanel/base/3rdparty/phpMyAdmin/ folder and look for this line

$cfg[’ExecTimeLimit’] = 300;

and replace with 0 or any larger value

$cfg[’ExecTimeLimit’] = 3600;

This will increase the timout limit imposed by phpmyadmin to allow for larger databases. You may need to modify this several times in order to get the specific timeframe you need.


I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.