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

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

问题描述

当我尝试在phpMyadmin中执行(一些)查询时会收到此错误

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


致命错误:超过60秒的执行时间in
C:\ xampp\phpmyadmin\libraries\dbi\mysql.dbi.lib.php on line 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

并将max execution time的值从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;

更高的值,如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天全站免登陆