|
@@ -4,9 +4,9 @@ spring:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
druid:
|
|
druid:
|
|
|
- url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
|
|
|
|
+ url: jdbc:mysql://39.108.7.155:3306/zz_edu_data_dev?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
username: root
|
|
username: root
|
|
|
- password: zhongzheng2021
|
|
|
|
|
|
|
+ password: gdxy2023#@#zzkj
|
|
|
# 初始连接数
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|
|
# 最小连接池数量
|
|
@@ -49,13 +49,13 @@ spring:
|
|
|
# redis 配置
|
|
# redis 配置
|
|
|
redis:
|
|
redis:
|
|
|
# 地址
|
|
# 地址
|
|
|
- host: 172.18.19.227
|
|
|
|
|
|
|
+ host: 192.168.1.222
|
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
port: 6379
|
|
|
# 数据库索引
|
|
# 数据库索引
|
|
|
database: 0
|
|
database: 0
|
|
|
# 密码
|
|
# 密码
|
|
|
- password: zhongzheng@@2024
|
|
|
|
|
|
|
+ password: zhongzheng2021_redis
|
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
timeout: 10s
|
|
|
lettuce:
|
|
lettuce:
|