I want import huge (at least 300 mb) sql scripts via phpMyAdmin.
I\'ve tried:
post_max_size = 750M
upload_max_filesize = 750M
max_ex
If even after repeated upload you still get timeout error, pleasechange your settings in
\phpmyadmin\libraries\config.default.php
from $cfg['ExecTimeLimit'] = 300;
to $cfg['ExecTimeLimit'] = 0;
and restart. Now there is no execution time limit (trust we are talking about local server).
Source : Change Script time out in phpmyadmin
If any of you happen to use WAMP then at least in the current version (3.0.6 x64) there's a file located in <your-wamp-dir>\alias\phpmyadmin.conf
which overrides some of your php.ini options.
Edit this part:
# To import big file you can increase values
php_admin_value upload_max_filesize 512M
php_admin_value post_max_size 512M
php_admin_value max_execution_time 600
php_admin_value max_input_time 600
None of the above answers solved it for me.
I cant even find the 'libraries' folder in my xampp - ubuntu also.
So, I simply restarted using the following commands:
sudo service apache2 restart
and
sudo service mysql restart
Thanks me..!!
But if you are using Plesk, change your settings in :
/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php
Change $cfg['ExecTimeLimit'] = 300;
to $cfg['ExecTimeLimit'] = 0;
And restart with Plesk UI or use:
/etc/init.d/psa restart
and
/etc/init.d/httpd restart