报错信息: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.
如图:
编辑器连接mysql报错The server time zone value '�й���׼ʱ��' is unrecognized
连接配置:
编辑器连接mysql报错The server time zone value '�й���׼ʱ��' is unrecognized

解决办法:
在连接字符串后面加上?serverTimezone=UTC

其中UTC是统一标准世界时间。

完整的连接字符串示例:jdbc:mysql://localhost:3307?serverTimezone=UTC
如图:
编辑器连接mysql报错The server time zone value '�й���׼ʱ��' is unrecognized

相关文章:

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