mysql数据库数据入库时间跟当前时间差了8个小时 vim /etc/my.cnf[mysqld]default-time_zone = '+8:00'重启mysql服务。/etc/init.d/mysqld restart 未测试