# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mastaff.nookure.com/introduction/databases.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
