0
点赞
收藏
分享

微信扫一扫

java连接J D B C时区报错

花明 2022-04-14 阅读 60
java

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 条评论