|
@@ -11,11 +11,12 @@ spring:
|
|
|
primary: db1
|
|
|
datasource:
|
|
|
db1:
|
|
|
-# url: jdbc:mysql://172.18.128.8:3306/thsjzt?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
- url: jdbc:mysql://172.17.5.7:3306/thsjzt?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
-
|
|
|
- username: thsjzt
|
|
|
- password: thsjzt
|
|
|
+ # 政务网 Vpn
|
|
|
+ url: jdbc:mysql://172.17.5.6:5506/thsjzt?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
+ # 政务网 dzzw
|
|
|
+# url: jdbc:mysql://172.18.128.7:5506/thsjzt?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
+ password: thsjzt4e009fa5
|
|
|
# Hikari will use the above plus the following to setup connection pooling
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
hikari:
|
|
@@ -34,30 +35,6 @@ spring:
|
|
|
# 一个连接的生命时长(毫秒),超时而且没被使用则被释放(retired),默认:30分钟1800000ms
|
|
|
max-lifetime: 28740000
|
|
|
connection-test-query: SELECT 1
|
|
|
-# db1gjj:
|
|
|
-# url: jdbc:mysql://172.18.128.8:3306/thgjj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
-## url: jdbc:mysql://172.17.5.7:3306/thgjj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
-#
|
|
|
-# username: thsjzt
|
|
|
-# password: thsjzt
|
|
|
-# # Hikari will use the above plus the following to setup connection pooling
|
|
|
-# type: com.zaxxer.hikari.HikariDataSource
|
|
|
-# hikari:
|
|
|
-# # 等待连接池分配连接的最大时长(毫秒),超过这个时长还没有的连接则发生SQLException,默认:30秒
|
|
|
-# connection-timeout: 30000
|
|
|
-# # 最小连接数
|
|
|
-# minimum-idle: 5
|
|
|
-# # 最大连接数
|
|
|
-# maximum-pool-size: 15
|
|
|
-# # 自动提交
|
|
|
-# auto-commit: true
|
|
|
-# # 一个连接idle状态的最大时长(毫秒),超时则被释放(retired),默认:10分钟
|
|
|
-# idle-timeout: 600000
|
|
|
-# # 连接池的名字
|
|
|
-# pool-name: DatebookHikariCP
|
|
|
-# # 一个连接的生命时长(毫秒),超时而且没被使用则被释放(retired),默认:30分钟1800000ms
|
|
|
-# max-lifetime: 28740000
|
|
|
-# connection-test-query: SELECT 1
|
|
|
# db_gjj_s:
|
|
|
# url: jdbc:mysql://59.198.246.77:32368/jl503001?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
# username: jl503001
|