Question

Managed database with node droplet

Posted November 16, 2021 79 views
MySQLNode.jsClustering

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?

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.

×
Submit an Answer
1 answer

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