I am trying to import a large .sql data file using phpMyAdmin in XAMPP. However this is taking a lot of time and I keep getting:
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:
First of all stop your Xampp
Next step : go to below path
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 :
$cfg['ExecTimeLimit'] = 0;
Simply paste here.
Once set, restart your MySQL and Apache and go import your database.