pom.xml引入依赖
<!--druid 连接池--><dependency><groupId>com.alibaba</groupId><artifactId>druid-spring-boot-starter</artifactId><version>1.2.9</version></dependency>
配置application.yml
#2、使用druid配置相关信息spring:datasource:druid:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://localhost:3307/jakedeal?serverTimezone=UTCusername: rootpassword: xxxxx
