原因:数据库的时区是系统默认时区,没有更改到东八区。 解决:1,cmd查看时区show variables like '%timez_zone'; 2,设置时区set global time_zone '+8:00';