Mysql出现时区错误
在执行Mysql的语句之后,出现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的版本过高,需要在配置数据源时,在配置jdbcUrl这一项后面配置上jdbc:mysql://localhost:3306/database?serverTimezone=GMT%2B8&characterEncoding=utf8&useUnicode=true&useSSL=false将时区手动修正。