SpringBoot配置数据源及MyBatis分页的要点( 二 )


【SpringBoot配置数据源及MyBatis分页的要点】spring:dataSource:driver-class-name: com.mysql.cj.jdbc.Driverjdbc-url: jdbc:mysql://localhost:3306/db?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&&serverTimezone=UTCurl: jdbc:mysql://localhost:3306/db?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&&serverTimezone=UTCusername: rootpassword: 12345type: com.alibaba.druid.pool.DruidDataSource


推荐阅读