|
|
|
@ -6,16 +6,23 @@ spring:
|
|
|
|
|
druid:
|
|
|
|
|
# 主库数据源
|
|
|
|
|
master:
|
|
|
|
|
#本地
|
|
|
|
|
#远程
|
|
|
|
|
# url: jdbc:mysql://39.101.188.84:3307/ying_ji?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
# username: root
|
|
|
|
|
# password: Admin123@
|
|
|
|
|
#本地
|
|
|
|
|
url: jdbc:mysql://localhost:3306/ying_ji?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
username: root
|
|
|
|
|
password: adminadmin
|
|
|
|
|
# url: jdbc:mysql://192.167.2.56:3306/ying_ji?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=UTC
|
|
|
|
|
# username: root
|
|
|
|
|
# password: Jichuang@2023
|
|
|
|
|
#公司本地
|
|
|
|
|
# url: jdbc:mysql://localhost:3307/ying_ji?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
# username: root
|
|
|
|
|
# password: Admin123@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 从库数据源
|
|
|
|
|
slave:
|
|
|
|
|
# 从数据源开关/默认关闭
|
|
|
|
|