> For the complete documentation index, see [llms.txt](https://mastaff.nookure.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mastaff.nookure.com/introduction/databases.md).

# Databases

{% hint style="danger" %}
**This project has reached end of life and is no longer maintained.**

**We recommend you transition to** [**NookureStaff**](https://builtbybit.com/resources/nookurestaff-staffmode-utils.25460/)**, it's free**
{% endhint %}

MAStaff supports MySQL and SQLite databases.

## What database I should use ?

|                   | MySQL | SQLite |
| ----------------- | ----- | ------ |
| Sync staff mode   | ✔     | ❌      |
| Sync vanish       | ✔     | ❌      |
| Global staff mode | ✔     | ❌      |
| Global vanish     | ✔     | ❌      |
| Staff Mode        | ✔     | ✔      |
| Staff Chat        | ✔     | ✔      |

> For greater scalability

## MySQL

To use MySQL you need to have a MySQL or MariaDB server running. You can use a local server or a remote server.

1. First go to the config and change the type from SQLite to MySQL
2. Fill the params with your host database data access, then restart the server

   ![](https://i.imgur.com/Ox0lMhQ.png)

## SQLite

1. Change the database type to SQLite and restart the server
2. That's it, you are ready to go
