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配置的依赖包是版本的高导致的;

找到pom.xml更改mysql依赖包的版本。

以下是改过后的的版本;

在application.yml中检查url是否正确?

url: jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=UTF-8

 

posted on 2019-06-24 19:05  大白&Kitty  阅读(888)  评论(0编辑  收藏  举报