idea链接database时报错:serverTimezone

1.报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. 

image

 2.设置时区

jdbc:mysql://localhost:3306/zcck?serverTimezone=UTC

image

 

posted @ 2025-11-12 20:24  红酒人生  阅读(11)  评论(0)    收藏  举报