首页 > 数据库 >使用IDEA直接连接数据库报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'server

使用IDEA直接连接数据库报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'server

时间:2024-02-07 11:02:59浏览次数:25  
标签:prope set serverTimezone IDEA 报错 tab Advanced

错误详情使用IDEA直接连接数据库报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. image.png 错误原因:MySQL驱动中默认时区是UTC,与本地时间有时差。 解决方案点开最右侧 导航栏Advanced,找到 serverTimezone,在value处填写GMT保存 image.png 再次测试链接: image.png 连接成功!

标签:prope,set,serverTimezone,IDEA,报错,tab,Advanced
From: https://blog.51cto.com/zyj3955/9634935

相关文章