# Create and access your database

{% hint style="info" %}
Databases are used to store your server's data (plugins, stats, inventories, etc.).\
You can manage them from the dashboard and connect via **phpMyAdmin** or a client (HeidiSQL, Navicat).
{% endhint %}

### Objective

Create a database on Oxygenserv. Retrieve the credentials. Connect via phpMyAdmin or a client.

### Step-by-step guide

{% stepper %}
{% step %}
**Create a database**

Click on **Create a database**.

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

Give a **name** to your database, then click **Create**.
{% endstep %}

{% step %}
**Retrieve the connection information**

In the list you will find:

* **Database name**
* **IP Address**
* **Port**
* **Username**
* **Password** (click it to show)

{% hint style="warning" %}
Do not share your database credentials.
{% endhint %}
{% endstep %}

{% step %}
**Connect with phpMyAdmin (manual)**

Open: <https://phpmyadmin.oxygenserv.com/>

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

Fill in:

* **Username**
* **Password**
* **Server** (the host shown on the dashboard)

{% hint style="info" %}
You can also use a client like **HeidiSQL** or **Navicat** with the same credentials.
{% endhint %}
{% endstep %}

{% step %}
**Connect with “auto login”**

The dashboard offers a quick connection, click **Access phpMyAdmin**.\
You are connected without retyping the credentials.
{% endstep %}
{% endstepper %}

### Common issues

* **Access denied / invalid credentials** : retype the dashboard username and password.
* **Incorrect server** : in phpMyAdmin, the field **Server** must be the**MySQL host** provided (not the IP of your game server).

### FAQ

#### Where to find the MySQL username, password and host?

Dashboard → **Databases** → database details.

#### What should I put in “Server” on phpMyAdmin?

The**host** shown on the dashboard (MySQL server).\
This is not necessarily the IP of your game server.

#### Can I connect with external software (HeidiSQL, Navicat)?

Yes. Use **host + port + username + password + database name**.


---

# 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://docs.oxygenserv.com/en/dashboard/creer-et-acceder-a-sa-base-de-donnees.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.
