[已解决]报错:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone.

从错误即可知道是时区的错误,因此只要将时区设置为你当前系统时区即可,

因此使用root用户登录mysql,按照如下图所示操作即可。

show variables like '%time_zone%';

set global time_zone="+8:00";

系统为北京时区,因此在系统中设置后,再连接数据库运行,一切OK!

posted @ 2021-03-06 16:11  hank-li  阅读(95)  评论(0编辑  收藏  举报