Step-by-step guide to configuring MySQL binary log file position-based replication between two Ubuntu servers. Covers firewall setup, source server configuration (bind-address, server-id, log_bin, binlog_do_db), creating a dedicated replication user with REPLICATION SLAVE privileges, obtaining binary log coordinates, optionally

32m read time From digitalocean.com
Post cover image
Table of contents
IntroductionPrerequisitesUnderstanding Replication in MySQLStep 1 — Adjusting Your Source Server’s FirewallStep 2 — Configuring the Source DatabaseStep 3 — Creating a Replication UserStep 4 — Retrieving Binary Log Coordinates from the SourceStep 5 — Configuring the Replica DatabaseStep 6 — Starting and Testing ReplicationCommon Errors and TroubleshootingFAQsConclusion

Sort: