|
|
|
@ -6,12 +6,12 @@ spring:
|
|
|
|
|
druid:
|
|
|
|
|
# 主库数据源
|
|
|
|
|
master:
|
|
|
|
|
# url: jdbc:mysql://121.36.58.109:3306/jrm-intelligent-iot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
# username: root
|
|
|
|
|
# password: Haiwei123456
|
|
|
|
|
url: jdbc:mysql://localhost:3306/jrm-intelligent-iot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
url: jdbc:mysql://121.36.58.109:3306/jrm-intelligent-iot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
username: root
|
|
|
|
|
password: root
|
|
|
|
|
password: Haiwei123456
|
|
|
|
|
# url: jdbc:mysql://localhost:3306/jrm-intelligent-iot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
# username: root
|
|
|
|
|
# password: root
|
|
|
|
|
# 从库数据源
|
|
|
|
|
slave:
|
|
|
|
|
# 从数据源开关/默认关闭
|
|
|
|
|