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.解决问题
xiaostudy 2019-11-19 17:29 原文
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';