|
@@ -13,27 +13,28 @@ spring:
|
|
|
max-active: 600
|
|
|
max-wait: 1000s
|
|
|
timeout: 5s
|
|
|
- datasource:
|
|
|
- type: com.alibaba.druid.pool.DruidDataSource
|
|
|
- # url: jdbc:mysql://192.168.0.166:3306/loan_dev?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
- url: jdbc:mysql://192.168.1.169:3306/loan_uat2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
- username: root
|
|
|
- password: meloinfo2019
|
|
|
- #url: jdbc:mysql://rm-bp1e5b4cg75f70084.mysql.rds.aliyuncs.com/loan_pre?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowMultiQueries=true
|
|
|
- #username: loan_uat_mast
|
|
|
- #password: n!OReCRXu4Y9KxKtJb
|
|
|
- driver-class-name: com.mysql.jdbc.Driver
|
|
|
- filters: stat
|
|
|
- maxActive: 500
|
|
|
- initialSize: 2
|
|
|
- maxWait: 60000
|
|
|
- minIdle: 1
|
|
|
- timeBetweenEvictionRunsMillis: 60000
|
|
|
- minEvictableIdleTimeMillis: 300000
|
|
|
- validationQuery: select 1
|
|
|
- testWhileIdle: true
|
|
|
- testOnBorrow: false
|
|
|
- testOnReturn: false
|
|
|
- poolPreparedStatements: true
|
|
|
- maxOpenPreparedStatements: 20
|
|
|
- logSlowSql: true
|
|
|
+ datasource:
|
|
|
+ druid:
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+ # url: jdbc:mysql://192.168.0.166:3306/loan_dev?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
+ url: jdbc:mysql://192.168.1.169:3306/loan_uat2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
+ username: root
|
|
|
+ password: meloinfo2019
|
|
|
+ #url: jdbc:mysql://rm-bp1e5b4cg75f70084.mysql.rds.aliyuncs.com/loan_pre?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowMultiQueries=true
|
|
|
+ #username: loan_uat_mast
|
|
|
+ #password: n!OReCRXu4Y9KxKtJb
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ filters: stat
|
|
|
+ maxActive: 500
|
|
|
+ initialSize: 2
|
|
|
+ maxWait: 60000
|
|
|
+ minIdle: 1
|
|
|
+ timeBetweenEvictionRunsMillis: 60000
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ validationQuery: select 1
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: false
|
|
|
+ testOnReturn: false
|
|
|
+ poolPreparedStatements: true
|
|
|
+ maxOpenPreparedStatements: 20
|
|
|
+ logSlowSql: true
|