java连接J D B C时区报错

花明

关注

阅读 60

2022-04-14

java.sql.SQLException: 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 specific time zone value if you want to utilize time zone support.

//时区出现问题采用在后面加上正确的时区 &serverTimezone=Asia/Shanghai得到解决

精彩评论(0)

0 0 举报