致命错误:在 phpMyAdmin 中执行时间超过 30 秒 [英] Fatal error : execution time of 30 seconds exceeded in phpMyAdmin

查看:30
本文介绍了致命错误:在 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.inimy.ini

  • post_max_size = 750M
  • upload_max_filesize = 750M
  • max_execution_time = 5000
  • max_input_time = 5000
  • memory_limit = 1000M
  • max_allowed_pa​​cket = 200M(在 my.ini 中)

这篇关于致命错误:在 phpMyAdmin 中执行时间超过 30 秒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆