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.


  • 2019-09-28 08:00:30

    Java.io.tmpdir介绍

    System.getproperty(“java.io.tmpdir”)是获取操作系统缓存的临时目录,不同操作系统的缓存临时目录不一样,

  • 2019-09-28 08:36:43

    Ehcache配置持久化到硬盘,只存储到硬盘

    Ehcache默认配置的话 为了提高效率,所以有一部分缓存是在内存中,然后达到配置的内存对象总量,则才根据策略持久化到硬盘中,这里是有一个问题的,假如系统突然中断运行 那内存中的那些缓存,直接被释放掉了,不能持久化到硬盘;这种数据丢失,对于一般项目是不会有影响的,但是对于我们的爬虫系统,我们是用来判断重复Url的,所以数据不能丢失;

  • 2019-09-28 09:33:18

    put与putIfAbsent区别

    put在放入数据时,如果放入数据的key已经存在与Map中,最后放入的数据会覆盖之前存在的数据, 而putIfAbsent在放入数据时,如果存在重复的key,那么putIfAbsent不会放入值。

  • 2019-09-29 10:28:04

    程序员实用工具网站

    程序员开发需要具备良好的信息检索能力,为了备忘(收藏夹真是满了),将开发过程中常用的网站进行整理。