关联mysql失败_Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezon’

时区错误,MySQL默认的时区是UTC时区,比北京时间晚8个小时。

所以要修改mysql的时长

在mysql的命令模式下,输入:

set global time_zone=’+8:00’;

刷新连接成功

Idea关联mysql失败Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon

相关文章:

  • 2021-04-16
  • 2021-09-25
  • 2021-06-01
  • 2021-07-04
  • 2021-04-24
  • 2021-07-06
  • 2021-08-04
猜你喜欢
  • 2021-12-08
  • 2021-11-29
相关资源
相似解决方案