社区首页 >专栏 >IDEA 连接mysql时报错:Server returns invalid timezone. - IDEA 连接mysql时报错:Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually.
- 时区错误,MySQL默认的时区是UTC时区,比北京时间晚8个小时。
- 解决方法: 在Advanced中将serverTimezone设置成Hongkong即可
本文参与
腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020/08/20 ,如有侵权请联系
cloudcommunity@tencent.com 删除