Report this

What is the reason for this report?

Navicat and remote MySQL connection problems

Posted on October 24, 2014

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 0.0.0.0 and checked through netstat that 0.0.0.0:3306 is listening • followed this tutorial to open up 3306 - https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-iptables-on-ubuntu-14-04

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 162.243.75.66 and port 3306.

Can you point me in the right direction here?



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.

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!

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.