|
@@ -3,11 +3,11 @@ spring:
|
|
# redis 配置
|
|
# redis 配置
|
|
redis:
|
|
redis:
|
|
# 地址
|
|
# 地址
|
|
- host: 127.0.0.1
|
|
|
|
|
|
+ host: r-bp1lfyvfmjkz7jrs0m.redis.rds.aliyuncs.com
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
port: 6379
|
|
port: 6379
|
|
# 密码
|
|
# 密码
|
|
- password:
|
|
|
|
|
|
+ password: Zkhj951753@#
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
timeout: 30s
|
|
timeout: 30s
|
|
lettuce:
|
|
lettuce:
|
|
@@ -28,9 +28,9 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://127.0.0.1:3306/jz_store?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://rm-bp1l45210q9m4m83u.mysql.rds.aliyuncs.com:3306/jz_store?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: sP4dQO0BzgeNkKuJ
|
|
|
|
|
|
+ password: Zkhj951753@#
|
|
# 从库数据源
|
|
# 从库数据源
|
|
slave:
|
|
slave:
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|
|
@@ -83,9 +83,9 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://127.0.0.1:3306/sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://rm-bp1l45210q9m4m83u.mysql.rds.aliyuncs.com:3306/sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: sP4dQO0BzgeNkKuJ
|
|
|
|
|
|
+ password: Zkhj951753@#
|
|
# 初始连接数
|
|
# 初始连接数
|
|
initialSize: 5
|
|
initialSize: 5
|
|
# 最小连接池数量
|
|
# 最小连接池数量
|