IntelliJ IDEA配置mysql出现时差错误解决

Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.

 

解决方法:

在Advanced一栏的下面找到serverTimezone,并在后面输入GMT

再返回刚才页面测试,就会发现测试成功了