1800
MariaDBWARNINGCriticalReplicationHIGH confidence
Deprecated master info option used
Production Risk
Low — deprecation warning only; still functional in current version.
What this means
A deprecated replication configuration option related to master info was used; the option will be removed in a future MySQL version.
Why it happens
- 1Using options like master-info-file, relay-log-info-file, or other deprecated master_info settings.
- 2Configuration file or CHANGE MASTER TO referencing obsolete parameters.
How to reproduce
trigger — this will error
trigger — this will error
CHANGE MASTER TO MASTER_INFO_REPOSITORY = 'FILE'; -- deprecated in MySQL 8.0
expected output
Warning (Code 1800): Using a deprecated 'master_info' option. Please use 'replica_info' options or TABLE repository instead.
Fix
Switch master_info_repository to TABLE
Switch master_info_repository to TABLE
STOP SLAVE; SET GLOBAL master_info_repository = 'TABLE'; SET GLOBAL relay_log_info_repository = 'TABLE'; START SLAVE;
Why this works
TABLE repository is the recommended modern approach for storing replication metadata.
What not to do
✕
Version notes
Sources
Official documentation ↗
MySQL 8.0 — 1800 ER_WARN_DEPRECATED_MASTER_INFO_OPTION
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev