pisanix
pisanix copied to clipboard
Compliance with latest MySQL version in MHA monitoring
Development Task
Briefly using SHOW REPLICA STATUS
instead of SHOW SLAVE STATUS
after MySQL after version 8.0.23
According to official manual, SHOW SLAVE STATES
is deprecated after MySQL 8.0.22. I think we could determine which command to use based on the server_version
.