This commit is contained in:
77
2024-05-25 21:58:26 +08:00
parent 640aa3237e
commit d704b33a7c
3 changed files with 12 additions and 11 deletions

View File

@@ -32,9 +32,9 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://124.222.254.188:4306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
url: jdbc:mysql://123:4306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: root
password: 383200134
password: 123
# 从库数据源
slave:
lazy: true
@@ -63,13 +63,13 @@ spring:
spring:
redis:
# 地址
host: 124.222.254.188
host: 123
# 端口默认为6379
port: 9379
# 数据库索引
database: 12
# 密码(如没有密码请注释掉)
password: 383200134
password: 123
# 连接超时时间
timeout: 15s
# 是否开启ssl
@@ -102,9 +102,9 @@ mail:
enabled: false
spring:
rabbitmq:
addresses: 124.222.254.188 #ip地址
addresses: 123 #ip地址
username: admin # 账号
password: 383200134 # 密码
password: 123 # 密码
port: 5672
virtual-host: /cai-dev
agora: