mariadb-impl-replication-setup

Configure MariaDB replication with CHANGE MASTER TO and GTID settings.

2|Updated May 19, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/MariaDB-Claude-Skill-Package --skill mariadb-impl-replication-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mariadb-impl-replication-setup
Source: https://github.com/Impertio-Studio/MariaDB-Claude-Skill-Package/tree/main/skills/source/mariadb-impl/mariadb-impl-replication-setup
Command: npx skills add https://github.com/Impertio-Studio/MariaDB-Claude-Skill-Package --skill mariadb-impl-replication-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users set up MariaDB replication securely and efficiently, while avoiding common mistakes that can lead to replication failures or data inconsistencies.

Core Features & Use Cases

  • Replication Setup: Automates the process of setting up primary-replica replication, including server-id assignment, log_bin enable, CHANGE MASTER setup, and START SLAVE.
  • Semi-Sync Replication: Guides users on enabling and configuring semi-sync replication for crash-safe replication with at-most-one-transaction loss.
  • Parallel Applier: Covers setting up and tuning the parallel applier for improved performance.
  • GTID Configuration: Assists in configuring and using GTID for replication, including multi-source replication with named connections.
  • Monitoring: Provides guidelines for monitoring replication using SHOW SLAVE STATUS and other system variables.

Quick Start

Use the mariadb-impl-replication-setup skill to configure semi-sync replication on your MariaDB server.

Frequently Asked Questions about mariadb-impl-replication-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up MariaDB replication using GTID and CHANGE MASTER TO?

To set up MariaDB replication, configure server-id, enable log_bin, execute CHANGE MASTER TO with GTID settings, and run START SLAVE. This process automates primary-replica configuration for MariaDB 10.6-LTS through 12.x versions.

When do I need semi-sync replication in MariaDB?

Semi-sync replication in MariaDB is needed for crash-safe replication that guarantees at-most-one-transaction loss. It ensures replicas acknowledge transactions before commits, preventing data loss during primary server failures.

What's the best way to tune slave_parallel_threads for MariaDB parallel applier?

Tuning the MariaDB parallel applier involves configuring slave_parallel_threads to improve replication performance. This allows concurrent execution of replicated transactions, reducing lag on the replica server.

Can I use this MariaDB replication setup with multi-source replication?

Yes, this MariaDB replication setup supports multi-source replication using GTID with named connections. You can configure multiple primary servers streaming data to a single replica simultaneously.

How do I monitor MariaDB replication status and health?

Monitor MariaDB replication health using SHOW SLAVE STATUS and system variables. This provides visibility into replication lag, connection errors, and transaction execution metrics for your primary-replica setup.

Do I need root access to server configuration files to configure MariaDB replication?

Yes, configuring MariaDB replication requires access to server configuration files and a dedicated replication user. You must modify settings like server-id and log_bin in the database configuration files.