Database version contract drift

go-sql-driver mysql caching_sha2_password TLS RSA public key allowPublicKeyRetrieval MySQL 8.4

A current MySQL 8.4 task fails with: Go MySQL driver `caching_sha2_password` RSA or TLS requirement.

search-observedMySQL 8.4Database server and driversDatabase version contract driftgitdocs_candidate100

Agent Quick Fix

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

Product: MySQL 8.4
Current-contract area: Go MySQL driver `caching_sha2_password` RSA or TLS requirement
Likely root cause: A current MySQL 8.4 task fails with: Go MySQL driver `caching_sha2_password` RSA or TLS requirement. The local stale integration is plausible but may not reflect the current external contract.
Repair direction: Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.

Validation Status

Codex searched organically, but the no-web counterfactual also passed under this fixture. Treat this as search-observed query evidence, not proof that search was necessary.

Symptom

A current MySQL 8.4 task fails with: Go MySQL driver `caching_sha2_password` RSA or TLS requirement. The local stale integration is plausible but may not reflect the current external contract.

Why This Happens

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

Verification

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

Common Wrong Fixes

  • 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.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

go-sql-driver mysql caching_sha2_password TLS RSA public key allowPublicKeyRetrieval MySQL 8.4
site:github.com/go-sql-driver/mysql caching_sha2_password allowPublicKeyRetrieval
https://github.com/go-sql-driver/mysql
'allowPublicKeyRetrieval' in https://github.com/go-sql-driver/mysql
https://raw.githubusercontent.com/go-sql-driver/mysql/master/auth.go
dev.mysql.com MySQL 8.4 caching_sha2_password RSA public key TLS
https://dev.mysql.com/doc/refman/8.4/en/caching-sha2-pluggable-authentication.html
https://pkg.go.dev/github.com/go-sql-driver/mysql
'serverPubKey' in https://pkg.go.dev/github.com/go-sql-driver/mysql
"Authentication requires secure connection" "go-sql-driver" "caching_sha2_password"

Source Trail

GitHub source file/reference: