#1292 – Incorrect date value: ‘0000-00-00’ [duplicate]

The error is because of the sql mode which can be strict mode as per latest MYSQL 5.7 documentation.

To disable strict mode and other strict features, run this query:

SET GLOBAL sql_mode="";

For more information read this.

Hope it helps.

Leave a Comment