解决mysql java.sql.SQLException: The server time zone value‘'???ú±ê×' is unrecognized or represents...
解决java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone.使用的数据库是MySQL,驱动是8.0.11,这是由于数据库和系统时区差异所造成的,在jdbc连接的url后面加上serverTimezone=GMT即可解决...
转载
2018-04-26 00:58:56 ·
6179 阅读 ·
1 评论