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.
|
|
|
spring.datasource.druid:
|
|
|
|
# MySQL
|
|
|
|
url: jdbc:mysql://localhost:3306/pioneer?characterEncoding=utf8&serverTimezone=GMT%2B8
|
|
|
|
username: root
|
|
|
|
password: 123456
|
|
|
|
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
|