> ## Documentation Index
> Fetch the complete documentation index at: https://vexidata.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OVHcloud

> Connect your OVHcloud Web Cloud Database (MariaDB or MySQL) to VexiData.

## Prerequisites

* An [OVHcloud](https://www.ovhcloud.com) account with a Web Cloud Database (MariaDB or MySQL)
* A [VexiData](https://vexidata.com) account

## Connect OVHcloud to VexiData

<Steps>
  <Step title="Get your connection details">
    1. Log in to the [OVHcloud Control Panel](https://www.ovh.com/manager/)
    2. Navigate to **Web Cloud** > **Web Cloud Databases** in the left sidebar
    3. Select your database server
    4. On the **General Information** tab, find the **hostname** and **port** in the connection information section
    5. Go to the **Users and Rights** tab to find your username
    6. Go to the **Databases** tab to find your database name

    | Parameter    | Example                          |
    | ------------ | -------------------------------- |
    | **Host**     | `aaXXXXX-XXX.eu.clouddb.ovh.net` |
    | **Port**     | `35XXX` (custom per instance)    |
    | **Database** | Your database name               |
    | **Username** | Your database username           |
    | **Password** | Your database password           |

    <Note>
      OVHcloud assigns a **custom port** to each database instance — it won't be the standard `3306`. Make sure you copy the exact port from the General Information tab.
    </Note>
  </Step>

  <Step title="Authorize VexiData's IP addresses">
    OVHcloud blocks all external connections by default. You must add VexiData's IP addresses to the allowlist.

    1. In your database server settings, go to the **Authorised IPs** tab
    2. Click **Add an IP address/mask**
    3. Add each of VexiData's IPs:

    | IP address/mask    |
    | ------------------ |
    | `46.101.71.122/32` |

    4. Save the changes

    <Note>
      IP authorization is **mandatory**. Your connection will fail without this step.
    </Note>
  </Step>

  <Step title="Add the connection in VexiData">
    1. Go to [Data Sources](https://vexidata.com/data-sources) in VexiData
    2. Click **MySQL** or **MariaDB** depending on your database engine
    3. Fill in the details:

    | Field            | Value                                                            |
    | ---------------- | ---------------------------------------------------------------- |
    | **Display Name** | A name to identify this connection (e.g., "OVHcloud Production") |
    | **Host**         | Your OVHcloud hostname (e.g., `aaXXXXX-XXX.eu.clouddb.ovh.net`)  |
    | **Port**         | Your custom port (e.g., `35XXX`)                                 |
    | **Database**     | Your database name                                               |
    | **Username**     | Your database username                                           |
    | **Password**     | Your database password                                           |
  </Step>

  <Step title="Test and save">
    Click **Test & Save Connection**. VexiData will verify it can reach your database. Once connected, your schema will be analyzed automatically.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Connection timed out">
    * Verify VexiData's IP (`46.101.71.122/32`) is listed in the **Authorised IPs** tab. Without this, all external connections are blocked
    * Make sure you're using the **custom port** from the General Information tab, not the standard `3306`
    * Check that your database server is running in the OVHcloud Control Panel
  </Accordion>

  <Accordion title="Authentication failed">
    * Verify your username and password. You can reset the password from the **Users and Rights** tab via the options menu
    * Make sure the user has access to the specific database you're connecting to
  </Accordion>

  <Accordion title="No tables visible after connecting">
    * Check that your database user has `SELECT` permissions on the tables
    * Verify you entered the correct database name from the **Databases** tab
  </Accordion>
</AccordionGroup>
