Idea链接数据库时,出现 Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ prope或者Server returns invalid timezone.Need to set ‘serverTimezone’ property.说明你是时区出现错误。修改方法。
1.在你的MySQL中找到下图所示;
2.(如果找不到建议重新安装MySQL)打开,然后按照下图操作,就可以。(其他在控制面板改的,你每次都要改,这只要改一次就可以了。)
命令一: show variables like ‘%time_zone’;
命令二: set global time_zone=’+8:00’;
这样就成功了。
Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ prope时区问题。
最新推荐文章于 2023-01-12 19:03:13 发布