Spring项目启动时 报错误java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more tha

原因可能是用的Mysql版本太新有时区问题导致
解决办法:
在连接地址后面加上时区
?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
添加后 可以正常启动了

Spring项目启动时 报错误java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more tha
原因可能是用的Mysql版本太新有时区问题导致
解决办法:
在连接地址后面加上时区
?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
添加后 可以正常启动了