|
|
@@ -32,7 +32,7 @@ spring:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
url: jdbc:mysql://10.206.0.9:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: root
|
|
|
+ username: yjb
|
|
|
password: Ylrz_1q2w3e4r5t6y
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
@@ -87,7 +87,7 @@ spring:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
url: jdbc:mysql://10.206.0.9:3306/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: root
|
|
|
+ username: yjb
|
|
|
password: Ylrz_1q2w3e4r5t6y
|
|
|
read:
|
|
|
# 从数据源开关/默认关闭
|