Can't connect with MySQL workbench

I am trying to connect with Workbench MySQL from my laptop to 1 click droplet with workbench but I cannot get a connection. I tried both the Droplet IP as well as the floating IP. I am not using (installed) SSH for simplicity. I am using standard TCP and tried as root and other users but no luck.


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.

Is this a Managed Database on Digital Ocean Digital Ocean does not have any help regarding connection from workbench to Managed Database. This is very annoying

Hi, mysql server is listening to by default. so try to use this as MySQLHost


I believe that your MySQL port is closed via your firewall so that’s why you are not able to access it remotely.

What you could try doing is allowing your IP address and then try to connect again. You could do that with the following command:

sudo ufw allow from

Then check the status:

 sudo ufw status

Hope that this helps! Regards, Bobby