最近初学spring boot 也是第一次写博客
刚刚开始整合mybatis,性质满满的启动,然后出现这个错误(图就不贴了):
java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
一看,‘Öйú±ê׼ʱ¼ä’ 这个就慌了,最后顺利解决
解决方式:
jdbc:mysql://localhost:3306/student?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
加上一句serverTimezone=GMT就ok拉
原文地址https://www.cnblogs.com/bobofei/p/9958054.html
spring boot 启动时报错The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized orJDBC driver
最新推荐文章于 2023-04-26 12:07:21 发布