首页 > 数据库技术 > 详细

报错:java.sql.SQLException: The server

时间:2019-07-02 00:27:15      阅读:106      评论:0      收藏:0      [点我收藏+]

报错:java.sql.SQLException: The server time zone value ‘?й???????‘ is unrecognized

在IDEA运行是报出例如相识的错误时:

  1. 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.

技术分享图片

那么此时查看你的mysql依赖是否版本过高:

技术分享图片

这时将它降到6以下试试,楼主降到5.1.45就OK了

技术分享图片

报错:java.sql.SQLException: The server

原文:https://www.cnblogs.com/leccoo/p/11117641.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!