server: port: 8080 servlet: context-path: /test spring: datasource: driverClassName: com.mysql.jdbc.Driver username: root password: 123456 url: jdbc:mysql://localhost:3306/mateng?setUnicode=true&characterEncoding=utf8 type: com.alibaba.druid.pool.DruidDataSource filters: stat initialSize: 1 maxActive: 20 maxOpenPreparedStatements: 20 maxWait: 60000 minEvictableIdleTimeMillis: 300000 minIdle: 1 poolPreparedStatements: true testOnBorrow: false testOnReturn: false testWhileIdle: true timeBetweenEvictionRunsMillis: 60000 validationQuery: select 'x'
application.yml mybatis最简单的配置
最新推荐文章于 2024-05-22 15:36:31 发布