I have phpmyadmin installed on a droplet (not in same VPC), which I’m trying to setup to connect to the DB cluster which I have created. The server is allowed to connect, and I’m using MySQL 5.x legacy connection for the user I’m trying to connect with.
It works great to connect from the server it self, but its refusing from phpmyadmin. The error I’m getting is: The server requested authentication method unknown to the client [caching_sha2_password]
Despite that I have set for that user to use legacy MySQL 5.x, it still somehow throwing MySQL 8.x error because caching_sha2_password is used there.
I have also tried with: alter user ‘nookie’@‘%’ identified with mysql_native_password by ‘mypassword’; however I’m still getting this error.
So the question why is this not being picked up by the cluster, that i’m trying to connect with phpmyadmin from a remote server to MySQL 5 legacy connection. Is there any other settings that I can make?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!