Home  >  Article  >  Database  >  How to Fix phpMyAdmin Timeouts During Large SQL Imports?

How to Fix phpMyAdmin Timeouts During Large SQL Imports?

Barbara Streisand
Barbara StreisandOriginal
2024-10-31 00:04:03517browse

How to Fix phpMyAdmin Timeouts During Large SQL Imports?

Troubleshooting Timeouts in phpMyAdmin for Large SQL Imports

Despite adjusting PHP configuration settings such as post_max_size, upload_max_filesize, max_execution_time, max_input_time, and memory_limit, you may still encounter timeouts during large SQL script imports.

Solution:

In such cases, the issue might lie within phpMyAdmin's configuration. Locate the file phpmyadminlibrariesconfig.default.php and make the following change:

<code class="php">$cfg['ExecTimeLimit'] = 300;</code>

Change this to:

<code class="php">$cfg['ExecTimeLimit'] = 0;</code>

Restart phpMyAdmin to apply the changes. Now, the script execution time limit will be effectively disabled, allowing you to import large SQL scripts without encountering timeouts.

The above is the detailed content of How to Fix phpMyAdmin Timeouts During Large SQL Imports?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn