# yoshinorim/mha4mysql-manager

Development tree of Master High Availability Manager and tools for MySQL (MHA), Manager part

Repository: https://github.com/yoshinorim/mha4mysql-manager
Canonical: https://ross.abutalabs.com/products/mha4mysql-manager
Homepage: http://code.google.com/p/mysql-master-ha/
Language: Perl
License: GPL-2.0
License Family: copyleft
Last push: 2020-08-14T16:15:37+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5520, "days_push": 2210, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1508, forks 501 (observed 2026-08-28T04:04:55.601455+00:00)

## What it is
MHA Manager is the manager component of the Master High Availability Manager and tools for MySQL (MHA), written in Perl. It automates MySQL master failover and fast master switch by coordinating with MHA node agents on database servers.

## Use cases
- automate MySQL master failover when the primary database crashes
- perform fast planned master switchover with minimal downtime
- monitor MySQL replication topology health
- promote the most up-to-date replica to master during failover
- minimize replication lag and data loss during failover

## When to choose
- you run MySQL replication and need automated, fast master failover
- you want to minimize downtime and data loss during master crashes
- you need planned master switches for maintenance with near-zero downtime

## When to avoid
- you use MariaDB, MySQL Group Replication, or Galera Cluster with built-in failover
- you want an actively developed tool with modern MySQL 8 feature support
- you need a cloud-managed HA solution rather than self-managed replication

## Facets
- artifact type: application
- maturity: maintenance
- function: database, deployment, monitoring, workflow-automation
- domain: databases, self-hosted
- platform: cli, self-hosted
- tags: mysql, high-availability, failover, replication, master-failover, perl, devops, linux

## Member repositories
- yoshinorim/mha4mysql-manager (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.601455+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:34.813033+00:00, confidence not recorded.
  - readme: https://github.com/yoshinorim/mha4mysql-manager (fetched 2026-08-28T04:04:55.601455+00:00, sha 4b1d3dc7fb0c)
  - homepage: http://code.google.com/p/mysql-master-ha/ (fetched 2026-08-29T11:36:51.166499+00:00, sha 629945e822e5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
