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'
文章來源地址http://www.zghlxwxcb.cn/news/detail-489837.html
文章來源:http://www.zghlxwxcb.cn/news/detail-489837.html
到了這里,關于application.yml mybatis最簡單的配置的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!