Error
Error Code:
1760
MariaDB Error 1760: Insecure Replication Credentials Storage
Description
Error 1760 indicates that MariaDB detected an attempt to store sensitive replication user credentials, specifically the username and password, directly within the `master.info` file. This method is considered insecure because the `master.info` file can be easily accessed and read, potentially exposing your database credentials. It typically occurs when configuring or modifying replication using `CHANGE MASTER TO`.
Error Message
Storing MariaDB user name or password information in the master.info repository is not secure and is therefore not recommended. Please see the MariaDB Manual for more about this issue and possible alternatives
Known Causes
3 known causesUsing Insecure `CHANGE MASTER TO`
The `CHANGE MASTER TO` statement was executed directly specifying `MASTER_USER` and `MASTER_PASSWORD`, causing credentials to be written to `master.info`.
Outdated Replication Configuration
An existing or legacy replication setup script might still be using the deprecated method of storing credentials in `master.info`.
Unaware of Secure Alternatives
The user might not be aware of the more secure methods available for storing replication credentials, such as using external files or system variables.
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