|
@@ -6,7 +6,7 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
|
|
|
+ url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas_pre?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
username: root
|
|
username: root
|
|
password: zhongzheng2021
|
|
password: zhongzheng2021
|
|
# 从库数据源
|
|
# 从库数据源
|
|
@@ -62,7 +62,7 @@ spring:
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
port: 6379
|
|
port: 6379
|
|
# 数据库索引
|
|
# 数据库索引
|
|
- database: 0
|
|
|
|
|
|
+ database: 1
|
|
# 密码
|
|
# 密码
|
|
password: zhongzheng2021_redis
|
|
password: zhongzheng2021_redis
|
|
# 连接超时时间
|
|
# 连接超时时间
|