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

解决MySQL时区配置问题
本文介绍了当遇到MySQL服务器时区设置错误导致的SQLException时如何进行有效配置。通过将IntelliJ IDEA中连接数据库的serverTimezone参数设置为UTC来避免因时区问题引发的错误。
4482

被折叠的 条评论
为什么被折叠?



