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

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

要修改mysql的时长

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

set global time_zone='+8:00';

再次连接成功

原文地址:https://www.cnblogs.com/HezhenbinGoGo/p/13359285.html