MXS-1494: Add replication credentials to mysqlmon

The credentials used for slave servers can now be controlled with the
replication_user and replication_password parameters.
This commit is contained in:
Markus Mäkelä
2017-10-24 16:56:34 +03:00
parent 75a2e190b2
commit 95ac9d501c
3 changed files with 64 additions and 0 deletions

View File

@ -69,6 +69,8 @@ typedef struct
bool switchover; /**< If master switchover is enabled */
char* switchover_script; /**< Script to call for performing master switchover */
uint32_t switchover_timeout; /**< Timeout in seconds for the master switchover */
char* replication_user; /**< Replication user for failover */
char* replication_password; /**< Replication password for failover*/
MXS_MONITOR* monitor;
} MYSQL_MONITOR;