这是报错信息

Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: 
 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 property) 
 to use a more specifc time zone value if you want to utilize time zone support.

SpringBoot+Mybatis-plus测试时碰到的奇怪时区问题

 

 后来看到别人的博客发现了同样的问题,是安装MYsql的时候的时区问题。所以在这边码一下,他的地址在这

https://blog.csdn.net/iiiiiilikangshuai/article/details/98459941

只需要在后面加上一句

?serverTimezone=UTC

 

相关文章:

  • 2022-12-23
  • 2021-12-03
  • 2021-09-28
  • 2021-11-22
  • 2021-10-31
  • 2021-06-14
  • 2021-12-25
  • 2022-12-23
猜你喜欢
  • 2021-08-10
  • 2022-12-23
  • 2021-05-21
  • 2021-09-12
  • 2022-12-23
  • 2021-10-31
  • 2021-05-03
相关资源
相似解决方案