在mysql命令行执行 SET SQL_MODE='ALLOW_INVALID_DATES'; To change the SQL mode at runtime, set the global or session sql_mode system variable using a SET statement: 顺便一提 百度搜出来的很少能解决问题 参考MYSQL原文http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html