Remote SQL server is not working

Posted October 26, 2017 1.6k views

I have two instances running in digital ocean.

Instance #1:

Running NodeJS MySQL grunt for web application.

    'connection': {
        'host': '`ip-address-for-instance-2`',
        'user': 'root',
        'password': '`password`'

Instance #2:

Running phpmyadmin by ‘instance-2-ip/phpmyadmin’

I had edit my.cnf bind address with my instance’s 2 IP address.


When I grunt my web application:

Error: connect ETIMEDOUT

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!