给数据源指定Druid类型
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/your_db?characterEncoding=utf8
username: root
password: yourPassword
type: com.alibaba.druid.pool.DruidDataSource
给数据源指定Druid类型
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/your_db?characterEncoding=utf8
username: root
password: yourPassword
type: com.alibaba.druid.pool.DruidDataSource