Server returns invalid timezone. Need to set 'serverTimezone' property

在idea中连接mysql时报错

含义:服务器返回无效时区。需要设置“serverTimezone”属性

 

 直接点 Set time zone进行设置

UTC改为GMT

注:

GMT(Greenwich Mean Time):格林威治标准时间
UTC:世界标准时间
CST(China Standard Time):中国标准时间

GMT + 8 = UTC + 8 = CST

posted on 2020-10-20 11:03  刀锋93  阅读(1160)  评论(0编辑  收藏  举报

导航