|
|
@ -22,21 +22,21 @@ spring: |
|
|
|
master: |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver |
|
|
|
url: jdbc:mysql://10.62.141.81:3306/sfms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
|
|
|
url: jdbc:mysql://10.230.41.31:3306/sfms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
|
|
|
username: root |
|
|
|
password: Microsoft@2021 |
|
|
|
# 读数据源 |
|
|
|
slave0: |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver |
|
|
|
url: jdbc:mysql://10.62.141.81:3306/sfms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
|
|
|
url: jdbc:mysql://10.230.41.31:3306/sfms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
|
|
|
username: root |
|
|
|
password: Microsoft@2021 |
|
|
|
# 读数据源 |
|
|
|
slave1: |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver |
|
|
|
url: jdbc:mysql://10.62.141.81:3306/sfms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
|
|
|
url: jdbc:mysql://10.230.41.31:3306/sfms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
|
|
|
username: root |
|
|
|
password: Microsoft@2021 |
|
|
|
# 读写分离类型,如: Static,Dynamic |
|
|
|