出现的错误com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration propert

通过这里可以看出来需要配置serverTimezone,所以就配置一下 

在application.yml数据源配置中url后面加上如下修改:

url: jdbc:mysql://127.0.0.1:3306/seckill?serverTimezone=UTC

相关文章:

  • 2021-12-06
  • 2021-12-12
  • 2021-09-10
  • 2021-09-02
  • 2022-01-23
  • 2021-07-10
  • 2021-09-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-01-05
  • 2021-12-14
  • 2021-05-12
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案