3223
MySQLERRORCommonReplicationMEDIUM confidence

Master info not found

Production Risk

High — replication cannot start.

Why it happens
  1. 1No replication source configuration exists for the replica.
  2. 2CHANGE MASTER TO was never run, or the configuration was reset.
How to reproduce
trigger — this will error
trigger — this will error
START REPLICA;

expected output

ERROR 3223 (HY000): Master info not found.

Fix

Configure replication source

Configure replication source
CHANGE MASTER TO MASTER_HOST='primary_host', MASTER_USER='repl', MASTER_PASSWORD='secret', MASTER_AUTO_POSITION=1;

Why this works

Establishes the connection parameters the replica needs to connect to the primary.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3223 ER_MASTER_INFO_NOT_FOUND

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All MySQL errors