---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# doctl databases

> Manage your MySQL, Redis, PostgreSQL, and MongoDB database services.
> More information: <https://docs.digitalocean.com/reference/doctl/reference/databases>.

- Run a `doctl databases` command with an access token:

`doctl {{[d|databases]}} {{command}} {{[-t|--access-token]}} {{access_token}}`

- Get details for a database cluster:

`doctl {{[d|databases]}} {{[g|get]}}`

- List your database clusters:

`doctl {{[d|databases]}} {{[ls|list]}}`

- Create a database cluster:

`doctl {{[d|databases]}} {{[c|create]}} {{database_name}}`

- Delete a cluster:

`doctl {{[d|databases]}} {{[rm|delete]}} {{database_id}}`
