亲测可用 解决方法: 打开MySQL的黑窗口 运行以下命令 show databases; show variables like '%time_zone%'; set global time_zone='+8:00';