java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.

The server time zone value 'Öйú±ê׼ʱ¼ä' is.......时区错误解决方法

从错误即可知道是时区的错误,将时区设置为你当前系统时区即可,

   因此使用root用户登录mysql,按照如下图所示操作即可。

输入命令:show variables like '%time_zone%';(注意是英文状态下)

The server time zone value 'Öйú±ê׼ʱ¼ä' is.......时区错误解决方法

 我电脑的系统为北京时区,因此在系统中设置

命令:set global time_zone='+8:00';

The server time zone value 'Öйú±ê׼ʱ¼ä' is.......时区错误解决方法

相关文章:

  • 2021-09-12
  • 2021-07-07
  • 2021-08-14
  • 2021-11-15
  • 2021-12-08
  • 2021-04-04
猜你喜欢
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2021-06-03
相关资源
相似解决方案