# 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&#x26;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;&#x20;
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&#x26;token=cee4f366-90be-46e4-970f-2d54b806a725" alt=""><figcaption></figcaption></figure>
