php - Script timeout passed, if you want to finish import, please resubmit the same file and import will resume -
i have database un-zipped size 50mb
zipped size 7mb
when try import database zipped(7mb) after few minutes throwing error:
script timeout passed, if want finish import, please resubmit same file , import resume.
i have resubmitted still not importing total data.
i working in local , these php.ini configurations:
max_execution_time = 3000000 max_input_time = 60000000000000 memory_limit = 1280000000000000000000m post_max_size = 4096456m upload_max_filesize = 40964564m max_file_uploads = 200
how can let system take own time import.?
if importing database using phpmyadmin, there's configuration file it:
\phpmyadmin\libraries\config.default.php
open configuration file in editor , change $cfg['exectimelimit'] = 300;
$cfg['exectimelimit'] = 0;
restart localhost, don't have time limit.
or can use mysql command line import unzipped sql file directly, below:
mysql -u username -p database_name < my_unzipped_import_file.sql
Comments
Post a Comment