ERROR 1292 (22007): Incorrect datetime value: code example Example: '0000-00-00' for column ' SET SQL_MODE='ALLOW_INVALID_DATES';