环境:

  • win10
  • idea
  • mysql 5.7

错误信息:

Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezon’

问题:

MySQL默认的时区是UTC时区,比北京时间晚8个小时

  • 解决1:降低MySQL驱动版本

idea连接mysql 5.7时区错误解决

  • 解决2:设置时区
    idea连接mysql 5.7时区错误解决
    idea连接mysql 5.7时区错误解决

相关文章:

  • 2021-12-25
  • 2021-07-21
  • 2021-11-01
  • 2022-02-06
  • 2021-12-06
  • 2021-12-17
  • 2021-06-09
  • 2021-09-15
猜你喜欢
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案