Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Script timeout passed, if you want to finish import


If you are importing your database using Phpmyadmin, then there's a configuration file for it:

phpmyadminlibrariesconfig.default.php

Open this configuration file in any editor and change $cfg['ExecTimeLimit'] = 300; to $cfg['ExecTimeLimit'] = 0;

Restart your localhost, now you don't have any time limit.
---------------------------------------------------------------------


Or you can use MySQL command line to import your unzipped SQL file directly, something like below:

mysql -u username -p database_name < my_unzipped_import_file.sql

 
PREVIOUS NEXT
Tagged: #Script #timeout #finish #import
ADD COMMENT
Topic
Name
2+4 =