How to fix “Script timeout passed, if you want to finish import, please resubmit the same file and import will resume.”

In this Article we have show How to fix “Script timeout passed, if you want to finish import, please resubmit the same file and import will resume” error. We are going to import database file that will be “200mb ” file size and In this article we are using xampp localhost server and importing the database file into phpmyadmin.

Why its getting?

Whenever we have importing a large database file in phpmyadmin and its getting error the logic is behind this database having some time out limits for execution (maximum execution) the script, but in large database, it exceeds the execution time out limit, and it getting “Script timeout passed, if you want to finish import, please resubmit the same file and import will resume” error. On xampp server default execution time limit is 300s for each script but for large database file it takes too much time compared to default execution time.

Solutions

As you know if we are importing a large database file size through phpmyadmin then firstly you will make sure to update these limits. For increasing the limits Go to “C:\xampp\php\php.ini” and set the limits according to your need then saved it.

max_execution_time = 3000
max_input_time = 60000
memory_limit = 12800M
post_max_size = 4094M
upload_max_filesize = 4094M
max_file_uploads = 200

Now its time to increase the timeout limit 300s to infinity.

After updating the changes Go to C:\xampp\phpmyadmin\libraries\config.default.php and open into code editor And find “$cfg[‘ExecTimeLimit’] = 300;” it and make it value “$cfg[‘ExecTimeLimit’] = 0;” & save it.

$cfg['ExecTimeLimit'] = 300;  update the value into 0
$cfg['ExecTimeLimit'] = 0;

After making the changes, reboot the localhost server and re-import the database file. This time it has been imported successfully.

Importing through MySql command line

You can also use the mysql command line to import the large database file, before opening the command line you have to make changes in the configuration file that we did before in phpmyadmin.

Step 1:- Open the shell command.

Step 2:- just follow the given command and enter the user password

mysql -u username -p database_name < databse_file.sql

Sometimes it’s getting an error just ignoring it. After taking some time, it’s imported successfully.

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like
https://duniapermainan.id/https://borobudur.site/https://beritamakan.xyz/http://lesfergusonjr.com/https://ajudanze.us/https://birosdmpoldakaltara.com/https://bidpropamkaltara.com/https://www.inmercociudades.org/https://missglobalnigeria.com/https://gilchristfliegen.com/https://auroratotosatu.net/https://auroratoto-2.com/https://portalberitaberitaindo.web.id/https://berita69.web.id/https://otomotif188.web.id/https://otomotifku.web.id/https://wawasannusantara.web.id/https://universitasterbuka.web.id/https://komunitaswni.web.id/https://wartacpns.web.id/https://langkahmaxwin.web.id/https://lowongankerja-1.biz.id/https://totocosmic.net/https://beritajakarta.biz.id/http://evobiolab.biol.amu.edu.pl/http://www.tnibase.org/http://www.wzgenomics.cn/https://selumakab.go.id/https://man1bekasi.sch.id/https://maxi188.shop/https://wukong778.shop/https://www.wukong778-indonesia.store/https://soykb.org/https://hanomantoto.vip/https://lokermedan.web.id/https://ceskeamoravskehrady.cz/https://cometa.tigem.it/https://hanomantoto.store/http://ipl.iust.ac.ir/https://pmb.unaki.ac.id/http://www.injur.ru/https://grillcentr.ru/http://mistic.leloir.org.ar/Jmol/eduhttps://xn----8sbcflre0apkqdho.xn--p1ai/http://liao.cis.udel.edu/https://efeitoharmony.com.br/https://edscience.org/https://webdev.pagaralamkota.go.id/https://test.ipnujatim.or.id/https://jdih.selumakab.go.id/https://www.laoplazahotel.com/http://wgmlstdb.imst.nsysu.edu.tw/temp/at/https://www.transform.global/https://dev.vanas.ca/http://postupi.v-teatre.ru/https://demo-simonev.trenggalekkab.go.id/https://ahmadkhani.co/https://ceskeamoravskehrady.cz/https://kec-karangbintang.tanahbumbukab.go.id/https://gilchristfliegen.com/https://wsf2024nepal.org/https://selumakab.go.id/https://asdos.stiedharmanegara.ac.id/https://stiedharmanegara.ac.id/https://ortu.stiedharmanegara.ac.id/https://www.xwalk.org/https://www.globalpartnerservice.co.id/https://diperta.tulungagung.go.id/https://ppid.trenggalekkab.go.id/https://buendnisjungelandwirtschaft.org/https://www.immersivelink-lms.ca/https://icits.ucyp.edu.my/https://wukong778.store/http://sitarida.tapselkab.go.id/https://bigup-at.avefenix.edu.co/http://expath.itps.ncku.edu.tw/cache/gacor/https://bkad.bengkuluutarakab.go.id/https://seo.acadstudent.ru/https://alumni.stiedharmanegara.ac.id/http://atmirnet.itps.ncku.edu.tw/https://e-sertifikat.belitung.go.id/https://jdih.selumakab.go.id/http://youngme1.pro-linuxpl.com/https://giantassistance.pl/https://www.ranw.org/umbraco/index.phphttps://paredis.nl/http://toefl.ikippgribojonegoro.ac.id/http://secondary-physical.bcc.ac.th/https://dev-qualityfortrade-admin.intracen.org/nova/loginhttps://ncc.potensi-utama.ac.id/https://hanomantoto.store/http://primary-art.bcc.ac.th/https://missglobalnigeria.com/https://wukong778.shop/https://pu.enrekangkab.go.id/https://dprd.tanahbumbukab.go.id/http://meteng.iust.ac.ir/https://www.wukong778-indonesia.store/https://edu.acadstudent.ru/loginhttps://maxi188.shop/https://pmb.unaki.ac.id/https://disdukcapil.anambaskab.go.id/http://liao.cis.udel.edu/http://nanoenergy.iust.ac.ir/https://satudata.sumselprov.go.id/web.htmlhttps://laoplazahotel.com/https://gilchristfliegen.com/https://expresskyc.gwcindia.in/https://e-statistik.temanggungkab.go.id/https://www.ohmdenki.co.th/https://matingarten.de/https://houseofpond.com/https://wbs.tangerangselatankota.go.id/https://selog-express.sera.astra.co.id/hc-aw/https://bkpsdm.selumakab.go.id/https://sinsi.bkpsdm.landakkab.go.id/https://amirkhani.iust.ac.ir/https://lesfergusonjr.com/https://birosdmpoldakaltara.com/https://cometa.tigem.it/https://bidpropamkaltara.com/https://espmi.staiku.ac.id/http://www.injur.ru/https://sipisang.tangerangselatankota.go.id/https://www.inmercociudades.org/https://webdev.pagaralamkota.go.id/https://visitama.co.id/https://afi.syekhnurjati.ac.id/http://pustaka.pipmakassar.ac.id/https://efeitoharmony.com.br/https://grillcentr.ru/https://smartcampus.co.id/http://mistic.leloir.org.ar/Jmol/eduhttps://ika.untagsmg.ac.id/https://fisip.untagsmg.ac.id/https://bioinfo.icgeb.res.in/http://www.facweb.iitkgp.ac.in/https://tgs-isl.ucyp.edu.my/https://universodapedagogia.com.br/https://elearning.femnet.org/https://www.runindia.in/https://aveironet.com/https://mik.co.id/https://wng.co.id/https://pitpanbandanthai.finearts.go.th/https://man1bekasi.sch.id/https://library.ucyp.edu.my/https://mahirdigital.id/https://www.wsf2024nepal.org/at/https://svn.laotel.com/auth/https://www.omegaint.net/https://justinjurist.com/https://expresskyc.gwcindia.in/http://shojaeefard.iust.ac.ir/http://shamaghdari.iust.ac.ir/http://ipl.iust.ac.ir/https://donate.ft.org.ua/http://rnamd.org/https://dlh.tanahbumbukab.go.id/https://www.transform.global/https://mmt.darmajaya.ac.id/https://edscience.org/https://dev.vanas.ca/https://www.laoplazahotel.com/https://e-sertifikat.belitung.go.id/cosmic/https://e-sertifikat.belitung.go.id/bb/http://wgmlstdb.imst.nsysu.edu.tw/temp/at/http://postupi.v-teatre.ru/https://zarbi.chem.yale.edu/ligpargen/userImages/https://demo.sansekertaindonesia.co.id/http://secondary-physical.bcc.ac.th/https://demo-simonev.trenggalekkab.go.id/https://ceskeamoravskehrady.cz/https://riffytravel.co.id/inkuu/http://gw.51qqb.cn/https://academic.ucyp.edu.my/https://lidham.co.il/http://blueocean.pipmakassar.ac.id/https://dinkes.sumselprov.go.id/at2/index.phphttp://evobiolab.biol.amu.edu.pl/html/