mysql-mariadb-high-availability-and-replication

Installation
SKILL.md

MySQL/MariaDB High Availability and Replication

Purpose

Standard MySQL/MariaDB replication (covered in mysql-mariadb-operations-and-performance-tuning) gives you a single writable primary and read replicas — failover requires promoting a replica and repointing traffic, which is either a manual process or requires external tooling. Galera Cluster (available as MariaDB Galera Cluster or Percona XtraDB Cluster) and MySQL Group Replication (packaged as InnoDB Cluster with MySQL Router) instead provide certification-based, virtually synchronous multi-master replication where every node can accept writes and the cluster itself enforces quorum to prevent a split-brain where two partitions both believe they're authoritative. This skill covers setting up and operating both clustering technologies, and — just as importantly — when not to reach for multi-master clustering because a simpler primary-replica topology with automated failover is the better operational trade-off.

Installs
1
GitHub Stars
46
First Seen
Nov 10, 2026