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

# MariaDB Cloud

> Connect your MariaDB Cloud (SkySQL) database to VexiData.

## Prerequisites

* A [SkySQL](https://app.skysql.com) account with a database service launched
* A [VexiData](https://vexidata.com) account

## Connect MariaDB Cloud to VexiData

<Steps>
  <Step title="Get your connection details">
    1. Log in to the [SkySQL Dashboard](https://app.skysql.com)
    2. Click on your database service
    3. Click the **Connect** button to view connection details

    | Parameter    | Example                                 |
    | ------------ | --------------------------------------- |
    | **Host**     | `dbpwfXXXXXXXX.sysp0000.db1.skysql.com` |
    | **Port**     | `3306`                                  |
    | **Username** | Your service username                   |
    | **Password** | Your service password                   |
    | **Database** | Your database name                      |
  </Step>

  <Step title="Allow VexiData through the firewall">
    SkySQL blocks all external connections by default. You must add VexiData's IP addresses.

    1. In the SkySQL Dashboard, go to **Manage** > **Security Access**
    2. Add each of VexiData's IPs:

    | IP address      |
    | --------------- |
    | `46.101.71.122` |

    3. Save the changes

    <Note>
      Security Access configuration 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 **MariaDB** to open the connection form
    3. Fill in the details:

    | Field            | Value                                                                 |
    | ---------------- | --------------------------------------------------------------------- |
    | **Display Name** | A name to identify this connection (e.g., "MariaDB Cloud Production") |
    | **Host**         | Your SkySQL hostname (e.g., `dbpwfXXXXXXXX.sysp0000.db1.skysql.com`)  |
    | **Port**         | `3306`                                                                |
    | **Database**     | Your database name                                                    |
    | **Username**     | Your service username                                                 |
    | **Password**     | Your service 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>

<Info>
  SSL is enabled by default on MariaDB Cloud. VexiData handles this automatically — no additional configuration is needed.
</Info>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Connection timed out">
    * Verify VexiData's IPs are added in **Manage** > **Security Access**. All connections are blocked by default
    * Check that your database service is running in the SkySQL Dashboard
  </Accordion>

  <Accordion title="Authentication failed">
    * Get fresh credentials by clicking the **Connect** button on your service in the SkySQL Dashboard
    * Verify you're using the correct database name
  </Accordion>

  <Accordion title="SSL connection errors">
    * VexiData handles SSL automatically. If you see SSL errors, verify the hostname and port are correct
    * Check that your service is running and not in a maintenance state
  </Accordion>
</AccordionGroup>
