{
  "id": "G040",
  "slug": "php-pdo-authentication-method-unknown-after-mysql-native-password-disabled",
  "status": "search-necessary",
  "product": "MySQL 8.4",
  "family": "Database version contract drift",
  "canonical_url": "https://gitdocs.org/fix/php-pdo-authentication-method-unknown-after-mysql-native-password-disabled",
  "query_alias_url": "https://gitdocs.org/q/php-pdo-authentication-method-unknown-after-mysql-native-password-disabled",
  "markdown_url": "https://gitdocs.org/fix/php-pdo-authentication-method-unknown-after-mysql-native-password-disabled.md",
  "json_url": "https://gitdocs.org/api/fixes/php-pdo-authentication-method-unknown-after-mysql-native-password-disabled.json",
  "canonical_query": "MySQL 8.4 mysql_native_password disabled authentication plugin PHP PDO unknown authentication method official",
  "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"
  ],
  "organic_dependency_search_count": 7,
  "affected_versions": "",
  "exact_errors": [],
  "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.",
  "before": "",
  "after": "",
  "verification": "Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.",
  "unsafe_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."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": true,
    "no_web_strict_pass": false,
    "search_necessity_under_fixture": true,
    "no_web_oracle_note": "If no_web_strict_pass is true, this page is search-observed but not search-necessary under the current visible fixture."
  },
  "source_trail": [
    {
      "url": "https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html",
      "label": "MySQL 8.4.0 release notes"
    },
    {
      "url": "https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://www.php.net/manual/en/ref.pdo-mysql.php",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": []
}
