# MySQL 8.4 replication caching_sha2_password GET_SOURCE_PUBLIC_KEY

Status: search-observed
Product: MySQL 8.4
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/mysql-replication-caching-sha2-password-requires-get-source-public-key
Machine JSON: https://gitdocs.org/api/fixes/mysql-replication-caching-sha2-password-requires-get-source-public-key.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.

## Fix

```
Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.
```

## 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

- site:dev.mysql.com/doc/refman/8.4 caching_sha2_password GET_SOURCE_PUBLIC_KEY replication MySQL 8.4
- MySQL 8.4 replication caching_sha2_password GET_SOURCE_PUBLIC_KEY
- "GET_SOURCE_PUBLIC_KEY" "MySQL"
- site:dev.mysql.com/doc "GET_SOURCE_PUBLIC_KEY"
- https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html
- 'GET_SOURCE_PUBLIC_KEY' in https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.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
