# External Database Setup

## Requirements

1. Stable Internet Connection.
2. Host Allowing MySQL or MariaDB.

## Set-Up

You can find the Database title in all of the [<mark style="color:orange;">Configurations</mark>](https://prism3.gitbook.io/logger/configurating/configurations) files of each instance.

```yaml
Database:
  Enable: false
  Type: MySQL
  Host: localhost
  Port: 3306
  Username: username
  Password: PassworD
  Database: database
  Data-Deletion: 7
```

1. To enable this feature, replace **false** with **true**.
2. Choose a Type MySQL or MariaDB.
3. Insert the correct credentials in their fields.
4. Start / Restart your Server.

**Data-Deletion** means, how many days before the Data is deleted.
