在最近学习mysql中遇到The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or represents more than one time zone这个问题
原因:出现这个错误是由于时区不对
解决方案:
1,按win+R 输入 cmd , 登录进入自己的电脑上已经安装好的数据库(mysql -u root -p ),然后输入密码
2,进入数据库之后,输入 show variables like '%time_zone%'
3,出现如下图:
4,接着在输入set global time_zone='+8:00';
5,OK,成功



