Last Updated:

Phpmyadmin upload error

Categories General Info

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

config.sample.inc.php
or
config.inc.php

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.

Leave a Reply

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