# MySQL 8.4 CHANGE MASTER TO removed replica bootstrap script fails before replication starts

Status: search-observed
Product: MySQL 8.4
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/mysql-8-4-change-master-to-removed-replica-bootstrap-script-fails-before-replication-starts
Machine JSON: https://gitdocs.org/api/fixes/mysql-8-4-change-master-to-removed-replica-bootstrap-script-fails-before-replication-starts.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The local schema/query is valid, but upgrade path, restart behavior, replication syntax, or background operations changed in the server release.

## Fix

```
Verifier checks durability, restart, and operational safety rather than a one-shot query. Check operational state and security, not a compatibility switch that weakens the server.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- MySQL 8.4 CHANGE MASTER TO removed replica bootstrap script fails before replication starts
- MySQL 8.4 CHANGE MASTER TO syntax removed replacement CHANGE REPLICATION SOURCE TO
- site:dev.mysql.com/doc/refman/8.4 CHANGE MASTER TO MySQL 8.4
- https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html
- 'The following deprecated terms are no longer used' in https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html
- https://dev.mysql.com/doc/refman/8.4/en/replica-logs-status.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/replica-logs-status.html
