在数据库中点击查询按步骤运行下面两条sql修改时区导致的时间差即可。
1.show variables like '%time_zone%';
2.set global time_zone='+8:00';
在数据库中点击查询按步骤运行下面两条sql修改时区导致的时间差即可。
1.show variables like '%time_zone%';
2.set global time_zone='+8:00';
转载于:https://www.cnblogs.com/sgw812/p/11209150.html