|
|
|
@ -6,9 +6,12 @@ spring:
|
|
|
|
|
druid:
|
|
|
|
|
# 主库数据源
|
|
|
|
|
master:
|
|
|
|
|
url: jdbc:mysql://localhost:3306/bs-jxc-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
|
|
|
|
|
url: jdbc:mysql://124.71.134.146:63306/tobacco?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
|
|
|
|
|
username: root
|
|
|
|
|
password: abcd123
|
|
|
|
|
password: fastrise@chain
|
|
|
|
|
#url: jdbc:mysql://124.71.134.146:3306/my-base?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
|
|
|
|
|
#username: root
|
|
|
|
|
#password: abcd123
|
|
|
|
|
# 从库数据源
|
|
|
|
|
slave:
|
|
|
|
|
# 从数据源开关/默认关闭
|
|
|
|
@ -59,3 +62,7 @@ spring:
|
|
|
|
|
wall:
|
|
|
|
|
config:
|
|
|
|
|
multi-statement-allow: true
|
|
|
|
|
bs:
|
|
|
|
|
tenant:
|
|
|
|
|
#开启租户
|
|
|
|
|
openTenant: true
|
|
|
|
|