The application now rejects a MySQL account that worked before the upgrade.
Fastest safe fix: first determine whether MySQL 8.4 has mysql_native_password disabled or whether a client cannot complete the newer authentication handshake. Upgrade the connector and migrate affected accounts to caching_sha2_password where possible; treat enabling the old plugin only as a temporary, scoped compatibility measure.
This guide is for DBAs maintaining MySQL 8.4.13 and backend engineers responsible for application drivers or operational tools.
If you’re planning a database migration, use the checks below to make account changes, rollback, and restore testing part of the release plan.
Before changing accounts, map the connection paths
Start with an inventory, not a global server setting. An application, a scheduled job, a monitoring agent, and an administrator’s SQL client may all use different connectors and different MySQL accounts. A successful login from one path does not establish that the others are compatible.
For every connection path, record:
- The application or tool name, its deployed version, and the driver or connector version.
- The MySQL account and host pattern it uses. Avoid collecting plaintext passwords in the inventory.
- The account’s authentication plugin and any account-specific restrictions.
- Whether the connection uses TLS, and how certificates or other connection security settings are configured.
- The last known successful deployment and the first failure observed.
Use an appropriately privileged account to inspect account metadata:
SELECT User, Host, plugin
FROM mysql.user
ORDER BY User, Host;
Treat that query as an inventory aid, not a complete account definition. Check each relevant account’s definition as well:
SHOW CREATE USER 'app_user'@'app_host';
The account’s host component matters. An application connecting from a different host pattern may match a different MySQL account than the one you inspected. If you use a database administration tool, confirm which account it actually authenticates as instead of assuming it shares the application’s credentials.
MySQL’s lifecycle boundary is important here: the official manual says mysql_native_password was deprecated starting in MySQL 8.0.34, is disabled by default in MySQL 8.4, and is removed in MySQL 9.0. Check the MySQL documentation for the legacy authentication plugin’s status before choosing a workaround.
Capture the current account definitions and relevant configuration before modifying them. Confirm that your backup process can restore the database, and document the exact change and rollback action. For a production system, rehearse recovery in an isolated environment rather than treating a saved configuration file as a recovery plan.
Why can an old account stop working after an upgrade? An account that still names mysql_native_password can encounter a server where that plugin is no longer available by default. A separate failure is possible when the server and account support the newer method but the connecting client does not. Those are different causes, so don’t change account definitions until you know which one you’re dealing with.
At the first failure, match the error to server evidence
Collect the complete client-side error, the connection path, and the corresponding server log entry. Don’t rely on a short application message alone: a generic login failure may hide whether the server rejected a username, could not load an authentication plugin, or encountered an incompatible authentication exchange.
Use the MySQL error-log documentation to locate and interpret the server-side evidence for your deployment. Match the event time and connection details to the failed application or tool. Keep sensitive data out of shared logs and incident notes.
Sort findings into these categories before making a change:
- Plugin unavailable or not loaded: the server reports that the requested authentication plugin is unavailable. This points toward the server’s plugin state and the account’s configured method.
- Account or access rejection: the server reaches account authentication but rejects the login. Check the account name, host match, password or secret rotation, and grants. Don’t assume that a password reset is the right fix.
- Client handshake incompatibility: the failure appears in a particular application, driver, or tool, while a compatible client can connect using the same account and route. That makes the client path a leading suspect, but verify the account and security settings before concluding.
What should you check when the server reports Plugin 'mysql_native_password' is not loaded? First confirm the account’s plugin and the server version. In MySQL 8.4, the legacy plugin is disabled by default; that message does not prove every client is incompatible. Check whether the account can be migrated and whether the actual connector supports the target method before considering a temporary plugin change.
Do not respond to an ambiguous error by restarting a production database or changing a global authentication setting. A restart can increase the impact without identifying the cause, and a global workaround may affect accounts that were not failing. Preserve the original log lines and configuration so you can compare the result of each controlled test.
Reproduce the failure with the real connector
Build an isolated test that uses the same application driver, configuration, and representative account as the failing connection. Test operational tools and scheduled jobs separately. A command-line client succeeding is useful evidence about that client’s route; it does not establish that the application’s connector can complete the same authentication exchange.
Check the official documentation for the connector you actually deploy. The Connector/Python connection arguments document its connection options, while the Connector/J configuration reference covers Java connector properties. These references help you verify documented settings; they are not substitutes for checking the version and behavior of your own deployed driver.
For every test, record:
- Which client and connector version made the attempt.
- Which MySQL account and host pattern were used.
- Whether TLS was enabled and the relevant certificate or connection settings.
- The client error and the matching server log entry.
- Whether the test passed on a fresh connection and after the application’s connection pool reconnected.
The MySQL 8.4 authentication plugin guide explains the server’s plugin-based authentication model. The caching SHA-2 authentication manual covers caching_sha2_password and its connection requirements. Review those requirements alongside your connector configuration; switching an account’s plugin alone cannot guarantee that an old client will work.
A successful test using a different client proves only that the tested client, account, route, and security setup worked together. Repeat the check for each production connection path before rolling out a change.
If you enable mysql_native_password and the old client still cannot connect, what next? Check the exact client and connector version, the account actually matched by the connection, the server log, and the connection’s security settings. Enabling a plugin addresses only plugin availability; it cannot repair an unsupported handshake, a wrong account or host match, or a separate TLS or configuration problem.
Choose a repair that removes the dependency
Use the test evidence to choose the narrowest repair. If the account still depends on the old plugin and the client supports the current method, plan an account migration. If only an old connector fails, first assess whether you can update that connector and test the application against it. If a tool or integration cannot be upgraded immediately, isolate that dependency and set an owner and an exit condition.
A practical decision path is:
- The server reports the legacy plugin is unavailable, and the client supports the current method: migrate the affected account after testing the application’s connection and reconnection behavior.
- The connector cannot use the target method: plan a connector upgrade, or document a short-lived exception while you replace or update the dependent client.
- The error points to account matching, credentials, or access: correct that specific issue. Don’t change authentication plugins to treat an unrelated account error.
- Evidence is inconclusive: reproduce in an isolated environment and gather the server log before making a production change.
For an account migration, use the official ALTER USER reference to confirm syntax and behavior for your MySQL version. A migration may require setting the account’s authentication method and credential deliberately; coordinate the change with your secrets-management process and the application owner. Don’t put live passwords in shell history, tickets, or shared deployment logs.
The target method is caching_sha2_password. MySQL documents that method and its connection requirements in the official MySQL 8.4 manual linked above. Before changing a production account, verify the connector’s support and security configuration in the same environment you use to test the application. Don’t assume a server-side change makes an unsupported client compatible.
MySQL 8.4.13 was released on October 20, 2026, according to its official release notes. Use the release notes to identify changes relevant to your patch level, but keep the authentication diagnosis tied to the account, server log, and connector evidence. A patch version by itself does not tell you which part of your connection path failed.
Roll out by milestone, with a tested rollback
Make the change in stages. First update or migrate in a test environment. Then validate the exact application path, including connection-pool behavior and operational tasks. Move a limited set of affected accounts or services at a time, and keep the old configuration and recovery action available until each stage passes.
Before a production rollout, check each item:
- [ ] Inventory every application, operator tool, scheduled job, and service that uses an affected MySQL account.
- [ ] Record the connector version, account host pattern, current authentication plugin, and security settings for each path.
- [ ] Reproduce the failure with the real connector and save the client error and matching server log evidence.
- [ ] Verify the proposed connector upgrade or account migration in an isolated environment.
- [ ] Confirm backups are stored off-machine and that a restore has been tested; confirm database redundancy through an appropriate software RAID or replication design.
- [ ] Write down the rollback action and the condition that triggers it before changing production.
- [ ] Roll out in stages, then test fresh logins, pooled-connection reconnection, monitoring, scheduled tasks, and application behavior.
If a stage fails, stop the rollout and follow the documented rollback. Don’t leave a temporary legacy-plugin exception in place without a named owner, a removal deadline, and a check that confirms the dependent client has been upgraded or replaced.
How do you migrate an old account to caching_sha2_password? Confirm the account identity and connector compatibility first, then follow the MySQL 8.4 ALTER USER documentation for the account change. Coordinate any credential update with your secret store, test the application and its reconnect behavior, and retain a tested rollback path. Don’t apply a migration to every account just because one legacy account failed.
Set a cleanup date and separate database hosting from authentication
Keep a follow-up list of every account, connector, and tool that still depends on the legacy method. Assign an owner and a completion date to each dependency. Recheck the relevant MySQL documentation before later upgrades; the documented boundary is clear that the legacy plugin is disabled by default in 8.4 and removed in 9.0.
Authentication compatibility is an application and account issue, not a hardware fix. Moving a database to a different server will not make an unsupported connector complete a handshake. If you’re also reviewing where to run a self-managed database, evaluate resource ownership, backup design, storage layout, and operating-system support as separate procurement decisions. AMDSSH publishes its available database server resources and supported systems; compare those details only after you’ve established that self-management fits your operations.
For example, AMDSSH lists dedicated EPYC 7543P systems with 32 cores and 64 threads, 128 GB or 256 GB of DDR4-3200 ECC memory, and two directly attached 1 TB NVMe drives, with additional NVMe options shown in its product information. Those specifications describe available server resources, not authentication behavior or a promised database performance result. The systems do not include hardware RAID, so you need to plan software RAID or replication and keep backups off the database machine. Check the AMDSSH database and hosting scenarios against your deployment and operational requirements.
Shared cloud instances can be convenient, especially for light or short-lived workloads, but depending on the service they may have shared-resource contention, tiered storage limits, or configuration boundaries that constrain disk and system choices. A dedicated AMD physical server is more appropriate when you need exclusive machine resources and control over your database deployment for sustained operation. It still requires compatible connectors, careful account migration, redundancy, and off-machine backups; renting a server does not resolve an authentication error.
If you’ve completed the connector and account checks and want to assess self-managed database capacity, review the AMDSSH server ordering options alongside your storage, backup, and on-call requirements. Choose the hosting model for those operational needs—not as a substitute for MySQL 8.4.13 authentication failure troubleshooting.
Last updated November 15, 2026. Version and authentication details were checked against the MySQL 8.4 authentication manual and the MySQL 8.4.13 release notes.
Further reading
EPYC 7543P dedicated serverFrom $450.2/month
