错误:The server time zone value is unrecognized or represents more than one time zone

服务器的时区的识别或代表多个时区。您必须配置服务器或JDBC驱动程序(通过serverTimezone配置属性)使用一个更具体的时区值如果你想利用时区支持。

在通过在数据库连接URL后,加上?serverTimezone=UTC

为什么是UTC

环境需要:如要维护多国环境如中美,时区一致便与维护

避免风险:避免PDT时区换算出错


作者:学zhe
来源:CSDN
原文:https://blog.csdn.net/qq_36324685/article/details/72552947
版权声明:本文为博主原创文章,转载请附上博文链接!

发布了18 篇原创文章 · 获赞 19 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/xujinggen/article/details/96437359