If you're getting the “Invalid Authentication Plugin” error while connecting to your MySQL server — whether through MySQL Workbench, PHP, or any other database connector — this video will show you how to fix it properly.
This issue occurs when a MySQL user is configured to use an unsupported or disabled authentication plugin (like mysql_native_password), causing clients to fail authentication even with the correct username and password.
In this video, you’ll learn how to:
Identify the user’s current authentication plugin
Understand why the error happens
Switch to the supported caching_sha2_password plugin
Reload privileges and verify the fix
Once done, you can reconnect successfully from MySQL Workbench, PHP applications, or any other MySQL client.
You can follow through the commands as outlined here in the github gist here:
https://gist.github.com/shrestha-bish...