idea连接mysql报错Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ property manually.
时区错误,MySQL默认的时区是UTC时区,比北京时间晚8个小时。
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