Mysql时区问题:Error querying database。cause:java.sql.SQLEXceptionThe server time zone value 'Öйú±ê׼ʱ¼ä' is unrec

  • 问题:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone....
  • 解决办法:
show variables like '%time_zone%';
set global time_zone='+8:00';

  • 运行之后在测试方法测试结果
有事评论区留言,也欢迎一起学习的伙伴
原文地址:https://www.cnblogs.com/wt9866/p/13727571.html