Navicat and remote MySQL connection problems

Having a rough time trying to connect to my droplet’s MySQL server through an external software called Navicat. here’s what I’ve done so far;

• adjusted my.cnf to be bound to and checked through netstat that is listening • followed this tutorial to open up 3306 -

Still, when trying to connect, I get the following error (delivered very fast);

“CONNECTION FAILED - Server unexpectedly closed network connection”

I’m trying to use SSH credentials with my root MySQL username & password on the IP and port 3306.

Can you point me in the right direction here?

Show comments

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.

In navicat I just setup the SSH settings with the same credentials I use for putty and in the General settings like I was in my localhost, thats it.

I’m trying to connect from the software package called Navicat, which isn’t a Command Line interface. It keeps denying me like crazy…pretty pissed about the whole thing!