当前位置:Gxlcms > 数据库问题 > 关联mysql失败_Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon'

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

时间:2021-07-01 10:21:17 帮助过:2人阅读

关联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'

标签:lob   mysql   失败   blog   art   ima   one   连接   set   

人气教程排行