摘要:缺省值推薦的公式啟動成功日志
什么是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.
文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。
轉載請注明本文地址:http://m.specialneedsforspecialkids.com/yun/77910.html
摘要:顧名思義,是用于數據源選擇切換的框架,這是一款基于切面指定注解實現的,通過簡單的數據源注解配置就可以完成訪問時的自動切換,切換過程中是線程安全的。注意事項在使用時需要添加對應數據庫的依賴如果使用連接池,不要配置使用的依賴,請使用依賴。 ApiBoot是一款基于SpringBoot1.x,2.x的接口服務集成基礎框架, 內部提供了框架的封裝集成、使用擴展、自動化完成配置,...
摘要:介紹基于等開發的企業級管理系統快速開發腳手架,擁有角色用戶資源管理同時數據更新時關聯的用戶相應的權限也會實時更新,并且此項目會進行持續更新升級,歡迎使用,若對你有幫助請點擊上方的。 介紹 watchdog-framework基于SpringBoot+Shiro+Mybatis+Mybatis-Plus+HikariCP+Redis+Vue+iView等開發的企業級管理系統快速開發腳手架...
摘要:下面是我用到的方法使用的連接工具,具體操作方法就是按照要求配置連接,用戶名和密碼即可。使用進行查看,由于項目是的,所以在這里只需要修改相應配置即可,由改為即可,啟動項目,然后在項目訪問路徑后面加上配置的就可以查看具體結果了 【前情提要】最近開始搭建博客,在本地調試的時候使用的數據庫是h2,但是調試的時候需要查看數據庫,本文也由此而來。 下面是我用到的方法: 使用IDEA的Databa...
閱讀 3528·2021-10-08 10:04
閱讀 875·2019-08-30 15:54
閱讀 2190·2019-08-29 16:09
閱讀 1356·2019-08-29 15:41
閱讀 2287·2019-08-29 11:01
閱讀 1746·2019-08-26 13:51
閱讀 1037·2019-08-26 13:25
閱讀 1836·2019-08-26 13:24