The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You mu
在做springboot连接数据库时:
方案1:在项目代码-数据库连接URL后,加上 (注意大小写必须一致)?serverTimezone=UTC
方案2:在mysql中设置时区,默认为SYSTEM set global time_zone=’+8:00’
错误原因:使用了Mysql Connector/J 6.x以上的版本,然
set global time_zone='+8:00';
后就报了时区的错误
还没有评论,来说两句吧...