SpringBoot+JDK 8+ MySQL 8 +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

注意mysql8,上面这两个serverTimezone=UTC 和 com.mysql.cj.jdbc.Driver 对比之前是不同的~

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2021-08-30
  • 2021-07-05
  • 2022-12-23
  • 2021-06-11
  • 2021-12-15
猜你喜欢
  • 2022-01-01
  • 2021-12-13
  • 2021-04-12
  • 2021-04-12
  • 2021-08-12
  • 2021-10-06
  • 2022-01-06
相关资源
相似解决方案