mysql-properties
#mysql 5 驱动 com.mysql.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.url=jdbc:mysql://localhost:3306/mybatis_plus?useSSL=false&userUnicode=true&characterEncoding=utf-8
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#mysql 8 驱动 com.mysql.cj.jdbc.Driver,需要增加时区配置,serverTimezone=GMT%288
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.url=jdbc:mysql://localhost:3306/mybatis_plus?useSSL=false&userUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%288
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
标签:jdbc,spring,Mysql,Driver,t05,datasource,mysql,com,yml
From: https://www.cnblogs.com/2580p/p/17828807.html