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

2023-07-31,,

时区错误,MySQL默认的时区是UTC时区

要修改mysql的时长

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

set global time_zone='+8:00';

再次连接成功

IDEA关联mysql失败Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon'的相关教程结束。

《IDEA关联mysql失败Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon'.doc》

下载本文的Word格式文档,以方便收藏与打印。