Cause: 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.
我是用的是8.0+版本的 mysql,在使用的时候url要加上时区参数serverTimezone=UTC
不然就会报错
关于mysql的参数问题,可以参考这篇博文mysql参数问题