Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]

2020-05-21 10:58:14

解决办法,调整php.ini 的max_execution_time = 300值

I tried to install matomo (first time) and get after click "Next"-Button in welcome screen for step 2 (system check) this error:

Matomo encoutered an error: Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected)

What is here to do? Set a higher execution time lead only to this

Fatal error: Maximum execution time of 90 seconds exceeded in \matomo-3.5.1\core\FileIntegrity.php on line 324
https://github.com/matomo-org/matomo/blob/3.x-dev/core/FileIntegrity.php#L324

At all I read many times take a look in config.ini, but this file not exists in root or config-folder.

System Windows 10.

Solution: Make maximum execution time of 120 or more.


  • 2017-03-11 08:39:13

    mysql存在就更新,否则插入

    ,如果要在插入的时候先判断插入的数据是否存在数据库中,那每一次插入之前都要进行一次select的操作,这样效率不高?如何优化蛤?

  • 2017-03-13 12:07:19

    JavaScript原型与原型链分析

    JavaScript没有类的概念,但几乎所有的东西又是基于对象的,同时也能实现继承,这就是js跟其他OOP语言最大的不同之处,这也是js最难理解的一块。下面我来说说我个人的理解。

  • 2017-03-15 07:43:19

    NodeJS服务器”热部署“代码,实现动态调试

    如果你有 PHP 开发经验,会习惯在修改 PHP 脚本后直接刷新浏览器以观察结果,而你在开发 Node.js 实现的 HTTP 应用时会发现,无论你修改了代码的哪一部份,都必须终止Node.js 再重新运行才会奏效。这是因为 Node.js 只有在第一次引用到某部份时才会去解析脚本文件,以后都会直接访问内存,避免重复载入,而 PHP 则总是重新读取并解析脚本(如果没有专门的优化配置)。