phpMyadmin 中的最长执行时间 [英] Maximum execution time in phpMyadmin

查看:32
本文介绍了phpMyadmin 中的最长执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 phpMyadmin 中执行(某些)查询时出现此错误

When I try to execute (some) queries in phpMyadmin I get this error

致命错误:超过 60 秒的最大执行时间C:\xampp\phpmyadmin\libraries\dbi\mysql.dbi.lib.php 第 140 行

Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\phpmyadmin\libraries\dbi\mysql.dbi.lib.php on line 140

因为我有一个非常大的表(超过 900 万条记录)

because I have a very large table (over 9 millions records)

我已经编辑了文件 C:\xampp\php\php.ini

I have edited the file C:\xampp\php\php.ini

并将最大执行时间"的值从 60 更改为 1000 然后重新启动 PHP 仍然出现相同的错误.

and changed the value of "max execution time" from 60 to 1000 then restarts the PHP and still have the same error.

有什么解决办法吗?

推荐答案

我也有同样的错误,请转

I have the same error, please go to

xampp\phpMyAdmin\libraries\config.default.php

xampp\phpMyAdmin\libraries\config.default.php

查找:$cfg['ExecTimeLimit'] = 600;

您可以将600"更改为任何更高的值,例如6000".

You can change '600' to any higher value, like '6000'.

以秒为单位的最大执行时间是(0 表示没有限制).

Maximum execution time in seconds is (0 for no limit).

这将修复您的错误.

这篇关于phpMyadmin 中的最长执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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