This commit is contained in:
ZiJIe 2025-06-24 10:25:26 +08:00
parent 6e6eaa14af
commit e0a90e3d3e
2 changed files with 8 additions and 8 deletions

View File

@ -6,16 +6,16 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://192.168.1.89:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: 123123
url: jdbc:mysql://43.136.31.205:3306/erp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: erp
password: bLb4X5NadFKX5654
# 从库数据源
slave:
# 从数据源开关/默认关闭
enabled: false
url:
username:
password:
url:
username:
password:
# 初始连接数
initialSize: 5
# 最小连接池数量
@ -39,7 +39,7 @@ spring:
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
webStatFilter:
webStatFilter:
enabled: true
statViewServlet:
enabled: true

View File

@ -74,7 +74,7 @@ spring:
# 数据库索引
database: 0
# 密码
password:
password: ygyx8888Redis
# 连接超时时间
timeout: 10s
lettuce: