Jan 202010
 

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.

 Posted by at 5:39 am

 Leave a Reply