Back (Current repo: terraform-mariadb-replica-homelab)

A terraform homelab with mariadb and maxscale for my own understanding and learning.
To clone this repository:
git clone https://git.viktor1993.net/terraform-mariadb-replica-homelab.git
Log | Download | Files | Refs | README

01_queries.sql (191B)


CHANGE MASTER TO
MASTER_HOST='192.168.2.37',
MASTER_PORT=3306,
MASTER_USER='repl',
MASTER_PASSWORD=[REDACTED]
MASTER_USE_GTID=slave_pos;

SET GLOBAL gtid_slave_pos='0-1-61043';

START SLAVE;