Maximum execution time in phpMyadmin(phpMyadmin 中的最大执行时间)
问题描述
当我尝试在 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).
这将解决您的错误.
这篇关于phpMyadmin 中的最大执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:phpMyadmin 中的最大执行时间
基础教程推荐
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- 如何替换eregi() 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
