> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove a Data Source

## Description

The `drop_database()` function enables you to remove a defined data source connection from MindsDB.

## Syntax

Use the `drop_database()` method to remove a database:

```python theme={null}
server.drop_database('mysql_demo_db')
```
