Info
Error Code:
1087
MySQL Error 1087: Data Load Operation Summary
Description
MySQL Error 1087 is an informational message returned after a data loading operation, such as `LOAD DATA INFILE`. It provides a summary of the operation's outcome, detailing the number of records processed, deleted, skipped due to issues, and any warnings generated. This message indicates the completion of the load but highlights potential data quality or integrity problems.
Error Message
Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld
Known Causes
4 known causesData Type or Format Mismatch
Input data in the source file does not conform to the expected data type or format of the target table columns, leading to skipped records or warnings.
Duplicate Key Conflicts
Attempting to insert records with primary or unique key values that already exist in the target table, causing records to be skipped if `IGNORE` is specified.
Constraint Violations
Records fail to satisfy `NOT NULL` constraints, `FOREIGN KEY` constraints, or other table-level checks, resulting in them being skipped or generating warnings.
Character Encoding Issues
Mismatched character encoding between the source data file and the MySQL server/table can lead to data corruption, skipped rows, or warnings during import.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service