Article ID: 125898, created on Jun 16, 2015, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix


When trying to upload database in phpMyAdmin more then 500Mb getting the error..

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


The error occurs because of a huge file and the restoration process fails with timeout.


Solution 1:

To increase timeout restoration increase the ExecTimeLimit value in


$cfg['ExecTimeLimit'] = 3600;

Also increase the settings in /etc/sw-cp-server/config to avoid '504 Gateway Time-out nginx' error:

fastcgi_read_timeout 3600;
fastcgi_send_timeout 3600;

Solution 2:

You can use Command Prompt in Windows or Linux SSH:

mysql -u USERNAME -p******** DATABASENAME < mysql_backup.sql

How to access Plesk database

Solution 3:

You may split the sql file:

Download a program that will split up your SQL file, such as SQL Dump Splitter. This is a free SQL dump file splitter that will let you automatically cut and save your split SQL file.

Search Words

phpmyadmin upload connection reset

e8756e9388aeca36710ac39e739b2b37 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF