# MySQL 8.4 CHANGE REPLICATION SOURCE TO SOURCE_HOST SOURCE_AUTO_POSITION MASTER_HOST deprecated removed

Status: verified-page-ready
Product: MySQL 8.4
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/mysql-8-4-change-replication-source-to-source-host-source-auto-position-master-host-deprecated-r
Machine JSON: https://gitdocs.org/api/fixes/mysql-8-4-change-replication-source-to-source-host-source-auto-position-master-host-deprecated-r.json

## Exact Symptom

- ERROR 1064 syntax error near MASTER
- START SLAVE or CHANGE MASTER syntax fails after upgrade

## Diagnosis

MySQL 8.4 completes several replication terminology removals. Use the `REPLICA` and `SOURCE` forms and include authentication requirements for modern plugins.

## Fix

```
STOP REPLICA;
CHANGE REPLICATION SOURCE TO SOURCE_HOST='db1', SOURCE_AUTO_POSITION=1;
START REPLICA;
```

## Avoid

- Do not downgrade syntax while also upgrading server packages; mixed terminology tends to fail late in automation.

## Observed Codex Queries

- MySQL 8.4 CHANGE REPLICATION SOURCE TO SOURCE_HOST SOURCE_AUTO_POSITION MASTER_HOST deprecated removed
- site:dev.mysql.com/doc/refman/8.4 CHANGE REPLICATION SOURCE TO SOURCE_HOST SOURCE_AUTO_POSITION MASTER_HOST
- dev.mysql.com MySQL 8.4 CHANGE REPLICATION SOURCE TO SOURCE_HOST
- https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html
- 'MASTER_HOST' in https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html
- https://dev.mysql.com/doc/refman/8.4/en/replication-compatibility.html
- 'CHANGE MASTER' in https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html

## Sources

- MySQL 8.4.0 release notes: https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html
- Official reference opened by Codex: https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html
- Official reference opened by Codex: https://dev.mysql.com/doc/refman/8.4/en/replication-compatibility.html
- Authoritative source: https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html
