摘要:缺省值推荐的公式启动成功日志
什么是HIkariCP
https://www.jianshu.com/p/15b...使用HikariCP数据源
com.zaxxer HikariCP 3.3.1
启动成功日志
17:36:50.838 [main] WARN com.zaxxer.hikari.HikariConfig - HikariPool-1 - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool. 17:36:50.838 [main] DEBUG com.zaxxer.hikari.HikariConfig - HikariPool-1 - configuration: 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - allowPoolSuspension.............false 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - autoCommit......................true 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - catalog.........................none 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - connectionInitSql...............none 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - connectionTestQuery............."SELECT 1" 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - connectionTimeout...............60000 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - dataSource......................none 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - dataSourceClassName.............none 17:36:50.841 [main] DEBUG com.zaxxer.hikari.HikariConfig - dataSourceJNDI..................none 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - dataSourceProperties............{password=} 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - driverClassName................."com.mysql.jdbc.Driver" 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - healthCheckProperties...........{} 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - healthCheckRegistry.............none 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - idleTimeout.....................60000 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - initializationFailTimeout.......1 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - isolateInternalQueries..........false 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - jdbcUrl.........................jdbc:mysql://ykx.uerp.net:3306/ykx?useUnicode=true&characterEncoding=utf8 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - leakDetectionThreshold..........0 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - maxLifetime.....................60000 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - maximumPoolSize.................10 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - metricRegistry..................none 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - metricsTrackerFactory...........none 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - minimumIdle.....................10 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - password........................ 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - poolName........................"HikariPool-1" 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - readOnly........................false 17:36:50.843 [main] DEBUG com.zaxxer.hikari.HikariConfig - registerMbeans..................false 17:36:50.844 [main] DEBUG com.zaxxer.hikari.HikariConfig - scheduledExecutor...............none 17:36:50.844 [main] DEBUG com.zaxxer.hikari.HikariConfig - schema..........................none 17:36:50.844 [main] DEBUG com.zaxxer.hikari.HikariConfig - threadFactory...................internal 17:36:50.844 [main] DEBUG com.zaxxer.hikari.HikariConfig - transactionIsolation............default 17:36:50.844 [main] DEBUG com.zaxxer.hikari.HikariConfig - username........................"ykx" 17:36:50.844 [main] DEBUG com.zaxxer.hikari.HikariConfig - validationTimeout...............3000 17:36:50.844 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... 17:36:51.257 [main] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection com.mysql.jdbc.JDBC4Connection@1d77a31d 17:36:51.260 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/yun/77910.html
摘要:顾名思义,是用于数据源选择切换的框架,这是一款基于切面指定注解实现的,通过简单的数据源注解配置就可以完成访问时的自动切换,切换过程中是线程安全的。注意事项在使用时需要添加对应数据库的依赖如果使用连接池,不要配置使用的依赖,请使用依赖。 ApiBoot是一款基于SpringBoot1.x,2.x的接口服务集成基础框架, 内部提供了框架的封装集成、使用扩展、自动化完成配置,...
摘要:介绍基于等开发的企业级管理系统快速开发脚手架,拥有角色用户资源管理同时数据更新时关联的用户相应的权限也会实时更新,并且此项目会进行持续更新升级,欢迎使用,若对你有帮助请点击上方的。 介绍 watchdog-framework基于SpringBoot+Shiro+Mybatis+Mybatis-Plus+HikariCP+Redis+Vue+iView等开发的企业级管理系统快速开发脚手架...
摘要:下面是我用到的方法使用的连接工具,具体操作方法就是按照要求配置连接,用户名和密码即可。使用进行查看,由于项目是的,所以在这里只需要修改相应配置即可,由改为即可,启动项目,然后在项目访问路径后面加上配置的就可以查看具体结果了 【前情提要】最近开始搭建博客,在本地调试的时候使用的数据库是h2,但是调试的时候需要查看数据库,本文也由此而来。 下面是我用到的方法: 使用IDEA的Databa...
阅读 3513·2021-10-08 10:04
阅读 863·2019-08-30 15:54
阅读 2180·2019-08-29 16:09
阅读 1347·2019-08-29 15:41
阅读 2272·2019-08-29 11:01
阅读 1735·2019-08-26 13:51
阅读 1026·2019-08-26 13:25
阅读 1806·2019-08-26 13:24