错误提示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.
该问题是数据库和系统时区不一致导致的
解决方案:
通过在jdbc的url后加上?serverTimezone=GMT
示例如下: