Question
Struggling to connect one droplet to another droplets database.
I am trying to run a database on one droplet and connect my app on another droplet to it. Should be easy, I know.
Well the droplet that I want to run the db, I have just restored from a snapshot so it was just the Ubuntu 12.04 lamp image. Installed MariaDB. Made a database and imported my data.
Commented out bind in my.cnf and made a user with all privileges.
Now I try to connect with mysql from the other droplet and I get 'ERROR 203....can't connect to MySQL server.
Any ideas for a way forward?
Add a comment
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.
×