In this tutorial I’m going to solve this error Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\phpMyAdmin\libraries\classes\Dbi\DbiMysqli.php on line 199.
Whenever you import file in in database then after some processing time its show you have using Maximum execution time of 300 seconds exceeded will be showing this type of error in your database:
Step 1 : Stop your Xampp Server
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/05/image-47.png)
Step 2: go to config.default.php
Once that’s done get back to finding phpMyadmin config file named something like “config.default.php”. On XAMPP you will find it under “C:\xampp\phpMyAdmin\libraries” folder. Open the file called config.default.php and set :
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/05/image-48-1024x576.png)
$cfg['ExecTimeLimit'] = 0;
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/05/image-49-1024x576.png)
Once set, restart your MySQL and Apache and go import your database.
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/05/image-50-1024x375.png)
[…] Fatal error: Maximum execution time of 300 seconds exceeded in C:xamppphpMyAdminlibrariesclasses… […]