This commit is contained in:
李文飞 2025-11-11 21:19:39 +08:00
parent 44e3a437d3
commit 6e269c3939
2 changed files with 3 additions and 3 deletions

View File

@ -49,10 +49,10 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://192.168.1.17:3307/contract_data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
url: jdbc:mysql://43.143.229.145:3600/contract_data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
# url: jdbc:mysql://localhost:3306/contract_data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: root
password: 123456
password: admin@123qwe@@
# 从库数据源
# slave:
# lazy: true

View File

@ -75,7 +75,7 @@ spring:
basename: i18n/messages
profiles:
# active: dev
active: prod
active: dev
# 文件上传
servlet:
multipart: