123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driverClassName: com.mysql.cj.jdbc.Driver
- druid:
-
- master:
- url: jdbc:mysql://124.70.58.209:1122/hazard?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
- username: admin
- password: 106aD>>ql95K5S
-
- slave:
-
- enabled: false
- url:
- username:
- password:
-
- initialSize: 5
-
- minIdle: 10
-
- maxActive: 20
-
- maxWait: 60000
-
- timeBetweenEvictionRunsMillis: 60000
-
- minEvictableIdleTimeMillis: 300000
-
- maxEvictableIdleTimeMillis: 900000
-
- validationQuery: SELECT 1 FROM DUAL
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- webStatFilter:
- enabled: true
- statViewServlet:
- enabled: true
-
- allow:
- url-pattern: /druid/*
-
- login-username: ruoyi
- login-password: 123456
- filter:
- stat:
- enabled: true
-
- log-slow-sql: true
- slow-sql-millis: 1000
- merge-sql: true
- wall:
- config:
- multi-statement-allow: true
|