# Database access manual configuration

**URL:** https://discourse.roots.io/t/database-access-manual-configuration/25486
**Category:** trellis
**Created:** 2023-06-06T11:03:01Z
**Posts:** 4

## Post 1 by @pacotole — 2023-06-06T11:03:01Z

I have always connected with MySQL Workbench to the databases of my Trellis projects.  
In the current documentation it only shows how to connect with trellis-cli with certain applications.

Where can I see the settings needed to manually connect to other database management applications? (especially for development environment)

---

## Post 2 by @strarsis — 2023-06-06T16:54:29Z

Primarily I access the databases using `WP CLI` (with [WP CLI config file](https://make.wordpress.org/cli/handbook/references/config/)).

By default the database server on Trellis is not accessible from the outside (except you are using an external database server).  
You can set up a SSH tunnel or expose the database server - but then ensure it is properly secured.

Related discussion:

> [@Remote MySQL Install](https://discourse.roots.io/t/remote-mysql-install/4862/4):
>
> Just connect to the box via SSH and use MySQL? Don’t need to install anything [image]

[https://discourse.roots.io/t/remote-mysql/4395](https://discourse.roots.io/t/remote-mysql/4395)

---

## Post 3 by @ben — 2023-06-06T19:52:25Z

I just re-added the connection details to the docs:

[https://roots.io/trellis/docs/database-access/](https://roots.io/trellis/docs/database-access/)

Thanks for the topic :pray:

---

## Post 4 by @pacotole — 2023-06-07T14:28:33Z

Great, thank you very much!
