[Pit] step on environmental issues

SpringBoot+JDK 8+ MySQL 8 +druid

druid

spring.datasource.url=jdbc:mysql://localhost:3306/miaosha?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

Note mysql8, prior to the above two serverTimezone = UTC and compare different com.mysql.cj.jdbc.Driver -

Guess you like

Origin www.cnblogs.com/Roni-i/p/11605516.html