DBEAVER连接MySQL运行报错The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than

time zone 时区错误
DBEAVER连接MySQL运行报错The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone

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

show variables like '%time_zone%';
SYSTEM为SQL默认美国时间,而我们中国要比他们迟8小时

插播个去 图片水印 的问题解决(转载)因此将时区设置为当前系统时区即可,

   因此,采用+8:00格式

set global time_zone='+8:00';


就可以啦^_^

如果还是System的话,关掉重新打开输入密码show一下,一般就是+08:00了。

猜你喜欢

转载自www.cnblogs.com/ruifu/p/10328851.html