java向DBeaver 插入数据报错server time zone

2023-02-18 08:56:13

error info:

Caused by: 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.

解决办法: 保持idea链接数据库的信息serverTimezone设置为UTC

  • 作者:Sunlalalla
  • 原文链接:https://blog.csdn.net/Sun_of_Rainy/article/details/118274561
    更新时间:2023-02-18 08:56:13