> For the complete documentation index, see [llms.txt](https://docs.ititanhosting.ro/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ititanhosting.ro/docs/english/games/fivem/mysql-database-connection.md).

# MySQL Database connection

## **OxMySQL connection**

1. Go to GamePanel;
2. Navigate to the "**Databases**" section;
3. Click on the "**Connect database**" button.

<figure><img src="/files/eCWhh6xfnmFgQb3Ao8Vb" alt=""><figcaption></figcaption></figure>

## GhmattiMySQL connection

1. Go to GamePanel;
2. Navigate to the "**Databases**" section;
3. Click on the "**Database Details**" button;
4. Copy everything written in the "**Ghmattimysql config.json database configuration**" field;
5. Replace the text in the configuration file, which you can find in the GhmattiMySQL resource folder (usually named "**config.json**").

<figure><img src="/files/CFZB3j6jwEojxvUHrRAD" alt=""><figcaption></figcaption></figure>
