连接 MySql 时出现如下异常: > com.mysql.cj.exceptions.InvalidConnectionAttributeException: 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. 参考 [这篇博客](https://blog.csdn.net/qq_36324685/article/details/72552947),在数据库连接 *URL* 后加上 `?serverTimezone=UTC` 即可修复这个异常。 Loading... 版权声明:本文为博主「佳佳」的原创文章,遵循 CC 4.0 BY-NC-SA 版权协议,转载请附上原文出处链接及本声明。 原文链接:https://www.liujiajia.me/2019/9/17/mysql-the-server-time-zone-value-is-unrecognized-or-represents-more-than-one-time-zone ← 上一篇 下一篇 → 提交