> 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="https://3945262447-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd5ByK31qYfB7MgSLhImu%2Fuploads%2FLNMHjrPecQQ8x5dCGpE5%2FScreenshot%202024-09-16%20212259.png?alt=media&amp;token=c983c140-7f26-417f-ba0e-9700588e50cb" 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="https://3945262447-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd5ByK31qYfB7MgSLhImu%2Fuploads%2FNajc3vboJh788bDL7HuG%2FScreenshot%202024-09-16%20213127.png?alt=media&amp;token=cee4f366-90be-46e4-970f-2d54b806a725" alt=""><figcaption></figcaption></figure>
