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

2023-07-31,,

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

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

所以要修改mysql的时长

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

set global time_zone=’+8:00’;

执行结果如下:

再次连接成功

原文链接:https://blog.csdn.net/weixin_43285123/article/details/101057110

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

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

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