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‘;
原文:https://www.cnblogs.com/xiaostudy/p/11890899.html