Question

Managed database with node droplet

If I have a managed mysql database with my node droplet server does that mean I can connect via localhost (127.0.0.1) to the mysql from my node server using the doadmin user and password?


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.

Hello,

You would need to use the hostname of the Managed MySQL cluster rather than localhost.

If you use localhost you would connect to the MySQL server installed on the Droplet itself, in case that there is one.

Hope that this helps. Regards, Bobby