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.
Accepted Answer
Inside /etc/mysql/mysql.conf.d/ there should be a file called mysqld.cnf, if you’ll open that file up:
nano /etc/mysql/mysql.conf.d/mysqld.conf
… and then find this line:
bind-address = 127.0.0.1
You’ll need to replace 127.0.0.1 with your Droplet’s Public IPv4 IP address, and then restart MySQL. The above line is telling MySQL to only accept local connections, so we need to bind MySQL to a public IP that you can connect to.
The above is beneficial if you need to connect from your local PC/Mac, though if you need to connect from another server in the same data center, you can instead use the Private Network IPv4 Address if you enabled private networking during deployment.
That’s easy, just change a line “bing-address” in the file /etc/mysql/mysql.conf.d/mysqld.cnf and comment that line, save the file and restart Mysql. That is all! good luck!