How to find out my database location?

My developer is not responding and I need to find out where my database is located. How can I do that? I don’t see any in the Databases section, but my site is operating fine, so it got to be somewhere :)

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


In case that you are not using a Managed database cluster, your database is mostlikely located on your server itself.

If you are using MySQL for example you could access the database by first accessing your server via SSH and then run the following command:


This will open a MySQL command prompt where you could run your SQL queries.

Alternatively, depending on what you want to achieve once you access the database, you could configure an SQL client like MySQL Workbench as described here:

Regards, Bobby