# Disconnect from Database

> Closes a connection to a database.

## Description

Closes a connection to a database.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Windows - Legacy, Windows configuration

### Properties panel

#### Common
* **DisplayName** - The display name of the activity. This field supports only `String` variables.

#### Connection
* **Database connection** - The database connection used for operations within this activity. This field supports only `DatabaseConnection` variables.

#### Misc
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

## Cross-platform configuration

* **Existing connection** - An already opened database connection obtained from the [Connect to Database](https://docs.uipath.com/activities/other/latest/developer/database-connect) activity.
