mysql运行报The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone的解决方法
此错误可能由于mysql安装时设置默认的时间错误,因此只要将时区设置为你当前系统时区即可。
具体操作如下:
1.cmd打开命令窗口
2.mysql -uroot -p 命令 以root用户登录mysql
3.输入密码
4.show variables like '%time_zone%'; 查询当前时区设置(此步骤可略过)
5.set global time_zone = '+8:00';
6.exit; 退出mysql登录(打完收工)
网友评论