|
|
@@ -4,9 +4,9 @@ spring:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
druid:
|
|
|
- url: jdbc:mysql://rm-wz950fu2v70864v85.mysql.rds.aliyuncs.com/zz_edu_saas?rewriteBatchedStatements=true&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?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
username: root
|
|
|
- password: gdxy2021!@#zzjykj
|
|
|
+ password: zhongzheng2021
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|
|
|
@@ -49,11 +49,11 @@ spring:
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 172.18.19.227
|
|
|
+ host: 192.168.1.222
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
|
- database: 0
|
|
|
+ database: 1
|
|
|
# 密码
|
|
|
password: zhongzheng2021_redis
|
|
|
# 连接超时时间
|