Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Connect phpmyadmin to mysql cluster
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 [cachingsha2password]
Despite that I have set for that user to use legacy MySQL 5.x, it still somehow throwing MySQL 8.x error because cachingsha2password is used there.
I have also tried with: alter user ‘nookie’@’%’ identified with mysqlnativepassword 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?
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.×