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.
bind-address=`ip-address`
When I grunt my web application:
Error: connect ETIMEDOUT
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!
Hi @longsookeat,
Could you confirm if MySQL is installed on instance-2 and you only have Node js web app on instance-1?
Feel free to check the below tutorial which can guide you with allowing remote access to the MySQL database.
https://www.digitalocean.com/community/tutorials/how-to-allow-remote-access-to-mysql
Regards, Rajkishore
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.