# MySQL 8.4 mysql_native_password disabled authentication plugin PHP PDO unknown authentication method official

Status: search-necessary
Product: MySQL 8.4
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/php-pdo-authentication-method-unknown-after-mysql-native-password-disabled
Machine JSON: https://gitdocs.org/api/fixes/php-pdo-authentication-method-unknown-after-mysql-native-password-disabled.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

- MySQL 8.4 mysql_native_password disabled authentication plugin PHP PDO unknown authentication method official
- site:dev.mysql.com/doc MySQL 8.4 mysql_native_password disabled
- MySQL 8.4 mysql_native_password=ON disabled by default
- https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html
- PHP PDO MySQL caching_sha2_password mysqlnd support official manual
- https://www.php.net/manual/en/ref.pdo-mysql.php
- 'default_authentication_plugin' in https://dev.mysql.com/doc/refman/8.4/en/server-system-variables.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/native-pluggable-authentication.html
- Official reference opened by Codex: https://www.php.net/manual/en/ref.pdo-mysql.php
