Question

Can't connect to mysql database on mysql workbench, saying "Could not connect unknown authentication type"

Hi I’m currently working on a group project, where my friend has to access the database on the mysql server hosted in Digital Ocean. We have a problem that seems to only occur for my friend’s mysql workbench on Windows 10 which after following this tutorial https://www.digitalocean.com/community/tutorials/how-to-connect-to-a-mysql-server-remotely-with-mysql-workbench. It shows an error sighting “Could not connect Unknown Authentication Type”. We are somewhat confused cause upon trying on other laptops using mysql workbench in windows 10, it works flawlessly by following the same method. Any ideas as to why this is happening, it seems that searching everywhere no one else has this problem.

Subscribe
Share

Submit an 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.

Hello,

What authentication type are you using? If it is SSH, then you need to make sure that you friend’s public SSH key is also added to the server:

https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/

Best,

Bobby