报错信息如下:
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 specific time zone value if you want to utilize time zone support.
看报错大概意思是 时区设置的问题
解决方法:
参考自:https://blog.csdn.net/qq_43371004/article/details/98385445
-
在连接数据库的配置文件中加上以下,时区亚洲/上海
更多解决方法看下面文章:
https://blog.csdn.net/qq_43371004/article/details/98385445