spring:
  datasource:
    url: jdbc:mysql://192.168.1.169:3306/trash-manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
    username: root
    password: etidg@2017
    #连接池的配置信息
    initialSize: 10
    minIdle: 10
    maxActive: 100
    maxWait: 60000
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 300000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxPoolPreparedStatementPerConnectionSize: 20
