java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents...

    出现这个错误的原因是时区有问题,可以在mysql中执行命令: set global time_zone='+8:00'; 如上是修改为北京时间(GMT+0800)。   查看修改: show variables like '%ti...

 

  出现这个错误的原因是时区有问题,可以在mysql中执行命令:

set global time_zone='+8:00';

如上是修改为北京时间(GMT+0800)。

  查看修改:

show variables like '%time_zone%';

  • 发表于 2019-05-20 08:00
  • 阅读 ( 177 )
  • 分类:网络文章

条评论

请先 登录 后评论
不写代码的码农
小编

篇文章

作家榜 »

  1. 小编 文章
返回顶部
部分文章转自于网络,若有侵权请联系我们删除