fix: 数据库连接地址更新

approve-sys
tony 3 years ago
parent b3d35cde7f
commit 79668ec4d4

@ -7,8 +7,8 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:p6spy:mysql://${address}:3306/flowable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: ${user}
url: jdbc:p6spy:mysql://localhost:3306/flowable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: root
password: ${mypass}
# 从库数据源
slave:

@ -59,9 +59,9 @@ spring:
# redis 配置
redis:
# 地址
host: ${address}
host: localhost
# 端口默认为6379
port: 6388
port: 6379
# 数据库索引
database: 0
# 密码

Loading…
Cancel
Save