|
@@ -4,7 +4,6 @@ spring:
|
|
|
redis:
|
|
|
# 地址 localhost
|
|
|
host: 127.0.0.1
|
|
|
- # host: 127.0.0.1
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
@@ -25,24 +24,23 @@ spring:
|
|
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
max-wait: -1ms
|
|
|
datasource:
|
|
|
- clickhouse:
|
|
|
- type: com.alibaba.druid.pool.DruidDataSource
|
|
|
- # driverClassName: ru.yandex.clickhouse.ClickHouseDriver
|
|
|
- driverClassName: com.clickhouse.jdbc.ClickHouseDriver
|
|
|
- url: jdbc:clickhouse://1.14.104.71:8123/sop_test?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
|
|
|
- username: default
|
|
|
- password: rt2024
|
|
|
- initialSize: 10
|
|
|
- maxActive: 100
|
|
|
- minIdle: 10
|
|
|
- maxWait: 6000
|
|
|
+# clickhouse:
|
|
|
+# type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+# driverClassName: com.clickhouse.jdbc.ClickHouseDriver
|
|
|
+# url: jdbc:clickhouse://cc-2vc8zzo26w0l7m2l6.public.clickhouse.ads.aliyuncs.com/sop?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
|
|
|
+# username: rt_2024
|
|
|
+# password: Yzx_19860213
|
|
|
+# initialSize: 10
|
|
|
+# maxActive: 100
|
|
|
+# minIdle: 10
|
|
|
+# maxWait: 6000
|
|
|
mysql:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://cq-cdb-95qvu08p.sql.tencentcdb.com:63998/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://1.14.207.209:8008/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
|
password: Rtyy_2023
|
|
|
# 从库数据源
|
|
@@ -97,10 +95,10 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://gz-cdb-of55khc9.sql.tencentcdb.com:23620/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://1.14.207.209:8006/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
|
password: Rtyy_2023
|
|
|
- # 初始连接数a
|
|
|
+ # 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|
|
|
minIdle: 10
|