|
|
|
@ -21,16 +21,32 @@ spring:
|
|
|
|
|
#启用sql日志拦截器 |
|
|
|
|
proxy-filters: |
|
|
|
|
- sqlLogInterceptor |
|
|
|
|
query-timeout: 60000 |
|
|
|
|
#设置默认的数据源或者数据源组,默认值即为master |
|
|
|
|
# query-timeout: 60000 |
|
|
|
|
# connect-timeout: 60000 |
|
|
|
|
# transaction-timeout: 60000 |
|
|
|
|
# max-wait: 60000 |
|
|
|
|
# time-between-eviction-runs-millis: 60000 |
|
|
|
|
# min-evictable-idle-time-millis: 300000 |
|
|
|
|
# connectTimeout: 60000 |
|
|
|
|
# socketTimeout: 60000 |
|
|
|
|
# queryTimeout: 60000 |
|
|
|
|
#设置默认的数据源或者数据源组,默认值即为master |
|
|
|
|
primary: master |
|
|
|
|
datasource: |
|
|
|
|
master: |
|
|
|
|
druid: |
|
|
|
|
#独立校验配置 |
|
|
|
|
validation-query: select 1 |
|
|
|
|
queryTimeout: 60000 |
|
|
|
|
#oracle校验 |
|
|
|
|
#validation-query: select 1 from dual |
|
|
|
|
url: ${blade.datasource.report.master.url} |
|
|
|
|
username: ${blade.datasource.report.master.username} |
|
|
|
|
password: ${blade.datasource.report.master.password} |
|
|
|
|
627683: |
|
|
|
|
druid: |
|
|
|
|
validation-query: select 1 |
|
|
|
|
queryTimeout: 60000 |
|
|
|
|
url: jdbc:mysql://192.168.2.46:3306/logpm_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&socketTimeout=30000 |
|
|
|
|
username: root |
|
|
|
|
password: 12345678 |
|
|
|
|