IDEA安装mysql驱动报错Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ prope 连接数据库 mysql -hlocalhost -uroot -p show variables like’%time_zone’; 如果是SYSTEM则说明没有设置时区 3.set global time_zone = ‘+8:00’; 完整过程