Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
Hi @tothtomi7,
The Localhost variable should be the Ip of your droplet, after all you are connecting to your droplet not your local computer with WorkBench.
As for the troubles with connecting, most probably, you haven’t allowed your local IP address on your droplet.
You can achieve this by executing the following two commands on your droplet
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d XXX.XXX.XXX.XXX --dport 3306 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s XXX.XXX.XXX.XXX --sport 3306 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
Where XXX.XXX.XXX.XXX is your Ip address.
If you are unsure what your IP address is, you can always check it on this website
Regards, KDSys