#logging logging: level: com.bcxin: warn org.springframework: warn spring: datasource: name: prod url: jdbc:mysql://rdsyhd2ca711m08e80oz.mysql.yun.zj:3306/zjpolice?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useOldAliasMetadataBehavior=true&zeroDateTimeBehavior=CONVERT_TO_NULL username: dxhd password: Zazdmysql_2019_01 # 使用druid数据源 type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver filters: stat maxActive: 20 initialSize: 1 maxWait: 60000 minIdle: 1 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: select 1 from dual testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxOpenPreparedStatements: 20 # monitor: # ip: 41.190.1.62 # port: 84