How to fix the execution time limit of PHP scripts when importing the database?

You need to set the max_execution_time to the number of seconds that all your scripts are allowed to run in your PHP's configuration file. The file location may differ from system to system but in general you need to find the PHP.INI file and modify it.

We need to set the value to 18000.

For example:

; Maximum execution time of each script, in seconds
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 18000

You'll have to restart your web server for this solution to work.

See more details on GeoIP Redirect for Magento 2 page
Rate the answer?