In this article we have shown How to fix the “Script timeout passed, if you want to finish import, please resubmit the same file and import will resume” error. So let’s go to solve this error.
Open XAMPP and stop MYSQL
Go to the below path
Open C:\xampp\mysql\bin\ my.ini in notepad++ and search the code max_allowed_packet=1M then replace the code max_allowed_packet=1024M
Then replace the code max_allowed_packet=1024M and save then exit file.
Restart the xampp and go to phpyadmin and drop all table whatever you have uploaded before, and upload again then your problem has been solved.