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