Well of course the reason is that phpMyAdmin is a php app and therefore is limited by the max_execution_time
in php.ini
Solution 1 is to change your php.ini file and increase the exec time like so
max_execution_time = 2000
Solution 2 Would be to just increase the time for the phpMyAdmin app like so
Edit \wamp\alias\phpmyadmin.conf and add these lines to that file just after the Alias /phpmyadmin .....
line
php_admin_value max_execution_time 2000
php_admin_value max_input_time 2000
Solution 3. The best solution in my mind for restoring large database dumps is to use the MySQL Console
as this is not limited in any way and will just run until your backup file is completely processed.
left click wampmanager icon -> MySQL -> MySQL Console Enter your 'root' password or just hit enter is you have no password on the 'root' userid.
Then enter this command as the mysql >
prompt
source path/to/the/backup/file.sql
If you take option 1 or 2 dont forget to set the max_execution_time
back to no more than 60 seconds. If you ever make the mistake ( and none of us are perfect) of writing an infinite loop in PHP code the PHP code will run for max_execution_time
before giving an error. This can be very confusing if it runs for 2000/60 = 33.5 minutes before giving you a clue to your error.