首页 > 数据库技术 > 详细

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

时间:2019-12-12 00:25:11      阅读:1643      评论:0      收藏:0      [点我收藏+]

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

原文:https://www.cnblogs.com/longronglang/p/12026582.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!