phpMyadmin 中的最大执行时间

2022-01-14 00:00:00 database xampp php mysql execution-time

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

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

致命错误:超过 60 秒的最大执行时间C:xamppphpmyadminlibrariesdbimysql.dbi.lib.php 在第 140 行

Fatal error: Maximum execution time of 60 seconds exceeded in C:xamppphpmyadminlibrariesdbimysql.dbi.lib.php on line 140

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

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

我已经编辑了文件 C:xamppphpphp.ini

I have edited the file C:xamppphpphp.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

xamppphpMyAdminlibrariesconfig.default.php

xamppphpMyAdminlibrariesconfig.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).

这将解决您的错误.

相关文章