Error
Error Code:
3845
MySQL Error 3845: Redo Log Archive Directory Clash
Description
This error, ER_INNODB_REDO_LOG_ARCHIVE_DIR_CLASH, indicates a conflict in the file system configuration. It occurs when the `innodb_redo_log_archive_dir` parameter is set to a path that is either the same as, a subdirectory of, or a parent directory of the main MySQL server's data directory. MySQL prevents this setup to ensure data integrity and proper management of log files.
Error Message
Redo log archive directory '%s' is in, under, or over server directory '%s' - '%s'
Known Causes
3 known causesIncorrect Configuration Parameter
The `innodb_redo_log_archive_dir` setting in your MySQL configuration file (e.g., my.cnf or my.ini) is explicitly defined to an invalid location.
Archive Path is a Subdirectory
The chosen directory for redo log archiving is located directly inside the MySQL server's main data directory, which is not permitted.
Archive Path Overlaps Server Directory
The configured redo log archive directory is either identical to the MySQL server's data directory or is a parent directory containing it.
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