Error
Error Code:
1259
MariaDB Error 1259: Corrupted Compressed Data
Description
Error 1259 indicates that MariaDB encountered data that was expected to be compressed using the ZLIB library, but the data is malformed or corrupted. This often happens during backup restoration, data import, or when interacting with compressed tables/columns. It signifies an integrity issue with the compressed data stream.
Error Message
ZLIB: Input data corrupted
Known Causes
4 known causesCorrupted Backup or Data File
The source data, such as a backup file, a database table file, or a compressed column, has become corrupted, leading to ZLIB decompression failure.
Network Transmission Errors
Data being transferred over a network, for example during replication or client-server communication, was corrupted in transit before reaching MariaDB.
Incorrect Data Format
The data is not actually ZLIB compressed or is compressed with a different algorithm, but MariaDB expects a ZLIB format, causing decompression to fail.
Underlying Hardware Issues
Issues with disk drives, memory (RAM), or other hardware components can cause data corruption before or during processing by MariaDB.
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