在idea中连接mysql时报错

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

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

 

 直接点 Set time zone进行设置

UTC改为GMT

注:

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

GMT + 8 = UTC + 8 = CST

相关文章:

  • 2021-10-12
  • 2021-11-24
  • 2021-12-08
  • 2021-08-23
  • 2021-05-26
  • 2021-12-28
猜你喜欢
  • 2022-02-27
  • 2021-09-06
  • 2021-07-07
  • 2021-11-18
相关资源
相似解决方案