The error message you’re encountering, “Fatal error: Maximum execution time of 300 seconds exceeded,” indicates that your PHP script has exceeded the maximum execution time limit set in the PHP configuration. This typically occurs when a script takes too long to complete its execution, and PHP interrupts it to prevent server overload or resource exhaustion.
Step 1:- config.default.php
C:\xampp\phpMyAdmin\libraries
config.default.php
Step 2:-
$cfg['ExecTimeLimit'] = 0;
Restart your MySQL and Apache and go import your database.
Hopefully, It will help you …!!!!