解决:java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents...的问题
在MySQL的安装文件夹中搜索my.ini文件,在最后添加一句
default-time_zone = '+8:00'
添加后重启MySQL服务,使用命令
show variables like '%time_zone%';
进行验证
在MySQL的安装文件夹中搜索my.ini文件,在最后添加一句
default-time_zone = '+8:00'
添加后重启MySQL服务,使用命令
show variables like '%time_zone%';
进行验证