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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

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