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.
时区的错误,因此只要将时区设置为你当前系统时区即可
打开cmd执行命令登录MySQL
mysql -u root -p
执行命令:
show variables like '%time_zone%';
执行修改命令:
set global time_zone='+8:00';
终结解决办法
找到mysql的安装目录下的my.ini
文件,使用notepad++打开,在mysqld
下加入如下代码:
default-time-zone='+08:00'