原文:IDEA连接mysql数据库发生的错误! Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon'

错误提示信息:Server returns invalid timezone. Go to Advanced tab and set serverTimezon 。 出现该问题的原因是MySQL驱动jar中的默认时区是UTC。 UTC代表的是全球标准时间 ,但是我们使用的时区是东八区,领先UTC八个小时。 在mysql命令窗口下输入: show variables like time zone 如 ...

2020-01-16 10:07 0 1498 推荐指数:

查看详情

IDEA连接mysql又报错!Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' prope

错误界面 IDEA连接mysql,地址,用户名,密码,数据库名,全都配置好了,点测试连接,咔!不成功! 界面是这样的, 翻译过来就是:服务器返回无效时区。进入“高级”选项卡,手动设置“serverTimezone”属性。 看起来是时区出了问题。时区怎么会出问题?坑真多 ...

Mon Jan 27 02:02:00 CST 2020 3 2477
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM