---
title: "Connect to the Database | Hostman Docs"
description: "Connect to your databases securely on Hostman’s platform. Learn how to set up connections for seamless access and reliable performance."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

You can connect to the [database](https://hostman.com/managed-database/) using standard tools.

For example, to connect via the command line using the mysql utility, use the command below, specifying your database details:

```shell
mysql -u db_user -p password -h host -P port -D db_name
```

You can find and copy the details:

-   From the **Dashboard**
    

![0db698af E5ee 44a1 A438 0eeb18423ce0](https://content.hostman.com/assets/732be951-c5be-4eb5-a2d3-c697379852db?width=1510&height=1128)

-   From the **Connection** tab 
    

![62f51749 Cc4c 40f8 87a8 E20a890fc104](https://content.hostman.com/assets/578d889c-b07c-49bd-9c51-132f0ec19996?width=1489&height=850)

## Web interfaces

You can work with the database using the built-in web interfaces to choose from: Adminer or phpMyAdmin, as well as OpenSearch Dashboards for OpenSearch databases and ClickHouse Query for ClickHouse.

1.  Go to the **Database** section and click on the cluster.
    
2.  Click on the **Web Interface** in the top right and select the preferred interface.
    

![D055f360 Bb7b 45a7 977d Bd93b8876536](https://content.hostman.com/assets/f636a9b0-af98-4766-b02d-848707747291?width=1490&height=762)

3.  Enter the database details (IP, username and password).
