|
@@ -59,7 +59,7 @@ spring:
|
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
|
url: jdbc:mysql://192.168.2.65:3306/digital-investment?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
username: root
|
|
|
- password: LongX@321
|
|
|
+ password: benyun
|
|
|
|
|
|
# 从库数据源
|
|
|
slave:
|
|
@@ -67,8 +67,8 @@ spring:
|
|
|
type: ${spring.datasource.type}
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
url: jdbc:mysql://192.168.2.65:3306/digital-investment?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
- username:
|
|
|
- password:
|
|
|
+ username: root
|
|
|
+ password: benyun
|
|
|
# oracle:
|
|
|
# type: ${spring.datasource.type}
|
|
|
# driverClassName: oracle.jdbc.OracleDriver
|