Fatal error : execution time of 30 seconds exceeded in phpMyAdmin(致命错误:在 phpMyAdmin 中执行时间超过 30 秒)
问题描述
我有一个包含 650 万条记录的 MySQL 表.当我尝试从 phpMyAdmin 访问该表时,我得到:
I have a MySQL table which contains 6.5 million records. When I try to access that table from phpMyAdmin I get:
致命错误:C:xampp-newphpMyAdminlibrariesdisplay_tbl.lib.php 中的第 1457 行超过了 30 秒的最大执行时间.
Fatal error: Maximum execution time of 30 seconds exceeded in C:xampp-newphpMyAdminlibrariesdisplay_tbl.lib.php on line 1457.
我只是想查看记录,我没有做任何可能导致错误的查询.
I am just trying to view the records and I am not doing any query which might cause the error.
这个问题只出现在我的服务器上.而且我的本地机器没有服务器包含那么多的记录.
This problem is only in my server. And my local machine does not contain as many records as the server.
在我的 php.ini 中,我已经将最大执行时间设置为最大值.
In my php.ini I have already set the maximum execution time to maximum.
我该如何解决这个错误?
How do I fix this error?
推荐答案
添加这一行
$cfg['ExecTimeLimit'] = 6000;
到phpmyadmin/config.inc.php
并更改php.ini和my.ini
- post_max_size = 750M
- upload_max_filesize = 750M
- max_execution_time = 5000
- max_input_time = 5000
- memory_limit = 1000M
- max_allowed_packet = 200M(在 my.ini 中)
这篇关于致命错误:在 phpMyAdmin 中执行时间超过 30 秒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:致命错误:在 phpMyAdmin 中执行时间超过 30 秒
基础教程推荐
- php中的PDF导出 2022-01-01
- php中的foreach复选框POST 2021-01-01
- 将变量从树枝传递给 js 2022-01-01
- 如何在数学上评估像“2-1"这样的字符串?产生“1"? 2022-01-01
- Yii2 - 在运行时设置邮件传输参数 2022-01-01
- php 7.4 在写入变量中的 Twig 问题 2022-01-01
- 使用 scandir() 在目录中查找文件夹 (PHP) 2022-01-01
- 主题化 Drupal 7 的 Ubercart “/cart"页 2021-01-01
- Web 服务器如何处理请求? 2021-01-01
- PHPUnit 的 Selenium 2 文档到底在哪里? 2022-01-01
