Giving script timeout passed on database import

user2720197 picture user2720197 · Nov 22, 2013 · Viewed 19.5k times · Source

I am using wamp server.I am trying to import the database in phpmyadmin. but its showing

Script timeout passed, if you want to finish import, please resubmit same file and import will resume.

And if i check the database tables only few tables are imported..How to resolve this.Thanks in advance

Answer

Adrian picture Adrian · Feb 1, 2014

Add following code

$cfg['ExecTimeLimit'] = 0;

in your phpmyadmin config.inc.php and it will solve your timeout problem, this should work on both XAMPP and WAMP