Home > Database > Mysql Tutorial > body text

How to Fix phpMyAdmin Timeouts During Large SQL Imports?

Barbara Streisand
Release: 2024-10-31 00:04:03
Original
628 people have browsed it

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>
Copy after login

Change this to:

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

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!

source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template