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

2023-07-31,,

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.解决问题的相关教程结束。

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

下载本文的Word格式文档,以方便收藏与打印。