IP of my database?

Posted January 6, 2021 472 views

After installing software on my droplets, and installing things inside the software, it asked for a MySQL database. So I made a Digital Ocean database cluster, and make a new database, but it asks for the database IP? Where can I find the database’s address?

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

Hi there @callmehSpear,

The DigitalOcean Managed Databases come with a hostname rather than an IP address.

You can use the hostname of your Managed Database and your application would work fine as well.

You just need to keep in mind that the Managed Databases come with a custom port rather than the default one for MySQL so you need to make sure that you specify the correct port.