You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
598 B
19 lines
598 B
3 years ago
|
spring.datasource.druid:
|
||
|
# MySQL
|
||
|
url: jdbc:mysql://next.soul2.cn:3306/cn_soul2?characterEncoding=utf8&serverTimezone=GMT%2B8
|
||
|
username: buildemo
|
||
|
password: 86ba@qybgz
|
||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
# 连接池配置
|
||
|
initial-size: 1
|
||
|
max-active: 5
|
||
|
max-wait: 60000
|
||
|
pool-prepared-statements: true
|
||
|
max-pool-prepared-statement-per-connection-size: 5
|
||
|
max-open-prepared-statements: 5
|
||
|
validation-query: select 1 from dual
|
||
|
validation-query-timeout: 10000
|
||
|
test-on-borrow: false
|
||
|
test-on-return: false
|
||
|
test-while-idle: true
|
||
|
time-between-eviction-runs-millis: 60000
|