mysql使用错误 mysql运行报The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone的解决方法

mysql运行报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!

猜你喜欢

转载自www.cnblogs.com/51python/p/10744850.html
今日推荐