[已解决]报错:The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone.

错误提示:The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone.

错误原因:多方查询发现是mysql得时区问题,比实际时间要早,所以需要在JDBC得连接URL后面加上 mysql?serverTimezone=GMT 即可解决问题,低版本得5.xxx没有存在这个时区问题,8.0这些才存在这个问题

from: https://www.cnblogs.com/tanglie/p/11111416.html

posted @ 2021-08-14 11:09  hank-li  阅读(206)  评论(0编辑  收藏  举报