# dflow db:list

> List databases in the current environment.

Web page: /docs/cli/data/db-list/

This lists the PostgreSQL, MySQL, MongoDB, and Redis services in the current environment. An empty list still prints the heading.

```bash
dflow db:list
```

## Flags

This command adds no flags of its own. `--output`, `--api`, and `--context` still apply.

## What you see

The terminal prints heading `NAME   STATUS   PROVIDER   ID`, sorted by name. An empty list prints the heading only. On a terminal the heading is bold, the status is colored, and the id is dim. A pipe, or `NO_COLOR`, prints plain text. Full tenant context. Exit 0: including empty.

## When it fails

Exit 1: missing context. Exit 2: auth. Exit 3: parent not found. Exit 10: unreachable.
