关联mysql失败_Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon
Posted 久曲健
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关联mysql失败_Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon相关的知识,希望对你有一定的参考价值。
关联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的主要内容,如果未能解决你的问题,请参考以下文章