Hi.
I’m using a Digtalocean-Droplet for Hosting a directus.io-installation. Just for context, directus is some kind of headless cms, running on node.js. It stores the entered data in a MySQL or PostgreSQL database.
My question is: How can I access the database, where the data ist stored from my installation? Via the console? I need that access, because i need to delete some stuff in that database…
Thanks für your help!
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!
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.
Hi there @leamoser,
It looks like that the Directus One-Click Installation Droplet uses PostgreSQL and not MySQL.
In order to access PostgreSQL via the command line you could run the following command:
postgres user:sudo su postgres
directus database:psql directus
\d
Hope that this helps! Regards, Bobby
I have the same question.
I would like to know how to save the database managed by the CMS Directus. (created with one-click install from DigitalOcean).
Any idea to do this?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
