首页 > 数据库技术 > 详细

【记录】【idea】【mysql】Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.解决问题

时间:2019-11-19 18:52:57      阅读:134      评论:0      收藏:0      [点我收藏+]

idea连接mysql报错Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ property manually.


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

命令行进入mysql设置时区set global time_zone=‘+8:00‘;

技术分享图片

 技术分享图片

 

 

 

【记录】【idea】【mysql】Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.解决问题

原文:https://www.cnblogs.com/xiaostudy/p/11890899.html

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