> 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/romana/jocuri/fivem/conectare-baza-de-date-mysql.md).

# Conectare bază de date MySQL

## **Conectare OxMySQL**

1. Intrați pe GamePanel;
2. Mergeți la secțiunea "**Databases**";
3. Apăsați pe butonul "**Connect database**".

<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>

## Conectare GhmattiMySQL

1. Intrați pe GamePanel;
2. Mergeți la secțiunea "**Databases**";
3. Apăsați pe butonul "**Database Details**";
4. Copiați tot ce este scris in câmpul "**Ghmattimysql config.json database configuration**";
5. Inlocuiți textul din fișierul de configurare, pe care îl găsiți in folderul resursei GhmattiMySQL (numit, de obicei "**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>
