The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents ..... mysql时区问题解决

原因是最新版的mysql  8.0.18驱动,用的是美国时区,设置以后即可。

进入mysql客户端,输一下命令即可。

SET GLOBAL time_zone = '+8:00';

SET time_zone = '+8:00';

FLUSH PRIVILEGES;

 

The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents ..... mysql时区问题解决