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';
2023-07-31编程代码下载本文Server,解决问题,记录
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.解决问题.doc》
下载本文的Word格式文档,以方便收藏与打印。
今天在学习一个项目的时候,idea中的datasource没有配置,后来发现mysql没有连接,于是下载了最新版的jdbc.jar包,连接mysql完成后,想test一下mysql connect,结果报错,出现了Server returns invalid timezone...
2023-07-31编程代码datasource,returns,Server