Error
Error Code:
1380
MySQL Error 1380: Relay Log Initialization Failure
Description
Error 1380 occurs on a MySQL replica (slave) server when it attempts to initialize or re-initialize its position within the relay log. This usually indicates an issue with accessing, reading, or processing the relay log files, preventing the replica from starting or continuing replication.
Error Message
Failed initializing relay log position: %s
Known Causes
4 known causesCorrupted Relay Log Files
The physical relay log files on the replica server may be damaged or unreadable, preventing MySQL from establishing its position.
Insufficient Disk Space
The disk partition where the relay logs are stored may be full or nearing capacity, preventing new writes or proper log management.
Incorrect File Permissions
The MySQL user lacks the necessary read/write permissions for the relay log directory or the log files themselves, hindering initialization.
Underlying I/O Errors
Problems with the storage subsystem (e.g., disk failure, network storage issues) can prevent MySQL from accessing or writing to the relay logs.
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