idea连接mysql报错Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property

Advanced 选项中 添加 name 和 value

serverTimezone  CST

备注:

GMT(Greenwich Mean Time):格林威治标准时间

UTC:世界标准时间

CST(China Standard Time):中国标准时间

GMT + 8 = UTC + 8 = CST