问题描述
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.
解决方法
修改数据库时区与项目中配置的时区一致,
修改MySQL数据库配置,需要DBA的root权限
使用root用户登录mysql
mysql -u root -p
–查看时区值
show variables like '%time_zone%';
–设置为东八区(北京时间)
set global time_zone='+8:00';
原文链接god with us的博客