# Connect to multiple database targets

## `zli v. 6.8.1`

### New

* **Connect to multiple database targets.** The `bzero` agent supports multiple database connections and can be used to support DBA and other workflows where numerous database connections are needed.\
  \ <mark style="color:purple;">**Some quick how-to's**</mark>\ <mark style="color:purple;">**>**</mark> To view multiple database connections, use `zli list-connections` or `zli lc` to see what database connections exist\ <mark style="color:purple;">**>**</mark> To see if a database daemon is already running, use `zli list-daemons db` or `zli ld db`\ <mark style="color:purple;">**>**</mark> To close a database connection, use `zli close <connection-id>` for a specific connection or `zli close -t db` to close all database connections.\ <mark style="color:purple;">**>**</mark> To disconnect from the database daemon, use `zli disconnect db`

### Enhancements

* ~~**`zli status`**~~ **`zli list-daemons`.** `zli status` has been deprecated for `zli list-daemons`. It will remain available in the `zli` in the interim and will be removed at a later date. `zli list-daemons` offers the same functionality as `zli status`.\
  \
  \> To view all running daemons, use `zli list-daemons`\
  \> To see a particular daemon type, append the target type (`kube`, `db`, or `web`) after `list-daemons`

### Fixes

* **Connect to target names that contain periods with SSH.** Resolved issue where users were unable to open an SSH session to targets with names that contained periods following `zli v.6.7.3`. Note that SSH will work as long as the string following the first period in the target name does not conflict with an environment name

## `bzero v. 6.5.5`

### Fixes

* **Open many SSH sessions to the same target.** Resolved issue where users may receive "permission denied" when trying to SSH to the same target with many concurrent requests

For questions or to give us feedback on how we can make our updates better, reach out to [<mark style="color:purple;">product@bastionzero.com</mark>](mailto:product@bastionzero.com).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://changes.bastionzero.com/2022/connect-to-multiple-database-targets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
