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 f
Its quite common when importing a database of any size using phpMyAdmin, to blow the max_execution limit that comes with most php installations.
If you want to increase the maximum time allocated to phpMyAdmin rather than to your whole Apache/PHP environment:
In the alias file \wamp\alias\phpmyadmin.conf, just before , you can add
Assuming you have Apache 2.4.x
Options Indexes FollowSymLinks ExecCGI
AllowOverride all
Require local
# Increase runtime
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
Or is you have Apache 2.2.x
Options Indexes FollowSymLinks ExecCGI
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1 localhost
# Increase runtime
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
Of course you could just use the MySQL Console as the console has no limits placed on it by PHP. This command used at the MySQL Console prompt mysql> will load the database dump file and do the restore.
source c:\path\to\your\database\dump\file.sql
Update
For some time now WAMPServer comes with these parameters set in the \wamp{64}\alias\phpmyadmin.conf file, however, occasionally even with the new defaults you may need to increase them for a very large import