Bug--时区问题导致IDEA连接数据库失败

打开cmd进入mysql,设置
set global time_zone='+8:00';

原文地址:https://www.cnblogs.com/charlottepl/p/12628478.html