# Connection Overview

This page describes connecting to a MariaDB Cloud database using the following options:

* MariaDB-compatible client
* From your application
* Through SQL tools
  * GUI Clients

{% hint style="info" %}
**Whitelist IP Address**\
Access to all services is by default protected by a firewall. You need to whitelist your client’s (your desktop, laptop or server) IP address before connecting. Select ‘Manage —> Security Access’ and then click ‘Add my current IP’ to add the IP of your current workstation (laptop, desktop).
{% endhint %}

{% hint style="danger" %}
**Warning**: Using `0.0.0.0/0` will disable the firewall. Never do this for production databases.\
For more details, go to the [Firewall](/docs/mariadb-cloud/security/configuring-firewall.md) settings page.
{% endhint %}

## Connecting Using the MariaDB Client

Once your DB service is launched, click on the ‘Connect’ option for your service on the dashboard. This pops up all the required attributes to connect from any SQL client.

Connection parameters include:

* Default username
* Default password
* Hostname (Fully Qualified Domain Name)
* TCP port (3306 or 3307)
* ssl-verify-server-cert (if SSL is ON)

{% hint style="info" %}
Unlike previous MariaDB Cloud versions, the current version no longer requires clients to supply the Server SSL Certificate for SSL connections. Customers who migrated from MariaDB corporation to MariaDB Cloud Inc can continue to use provided certificates (when using the previous MariaDB Cloud method for connecting). But we strongly recommend moving to the connection properties as shown in the Connect window for your service.
{% endhint %}

<figure><img src="/files/wI9FnacRvzX4MPcnSmgP" alt=""><figcaption><p>Connection Window</p></figcaption></figure>

## Connecting From Your Application

Applications can connect to MariaDB Cloud using any of the below MariaDB supported connectors. There are several other connectors from the community too.

* [C](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-c-app.md)
* [C++](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-c++-app.md)
* [Java](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-java-app.md)
* [Java R2DBC](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-using-connector-r2dbc.md)
* [Node.js (JavaScript)](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-node-js-app.md)
* [ODBC API](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-using-odbc.md)
* [Python](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-python-app.md)
* [MongoDB Client](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-mongodb-clients.md)

{% hint style="info" %}
For Server with Replicas, you can also use any MongoDB client and use the [NoSQL Interface](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connect-from-mongodb-clients.md).
{% endhint %}

## Connecting From SQL Tools

Clients listed here have been tested to properly connect with MariaDB Cloud and execute queries.

Most of the SQL clients and editors natively support MariaDB. Most often you can also just select 'MySQL' and connect to your MariaDB Cloud DB service.

* [Connecting using Java clients like Squirrel SQL](https://squirrel-sql.sourceforge.io/)
  * All you need to do is to make sure the "useSsl" property is set to 'true' if SSL is ON.
* MariaDB CLI
* [Sequel Ace](https://sequel-ace.com/) - Connect to MariaDB from MacOS
  * In the connection window, you should select 'Require SSL' if your MariaDB Cloud database has SSL turned ON (the default).

### Graphical User Interfaces (GUIs)

The following GUI clients have been tested to properly connect with MariaDB Cloud and execute queries. Most SQL clients and editors natively support MariaDB. You can often select 'MySQL' as the connection type to connect to your MariaDB Cloud DB service.

* [Connect using DBeaver](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/database-tools/dbeaver.md) (CloudDBA recommended)
* [Connect using DBGate](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/database-tools/dbgate.md)
* [Connect using HeidiSQL](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/database-tools/heidisql.md)
* [Connect using TablePlus](/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/database-tools/tableplus.md)


---

# 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://mariadb.com/docs/mariadb-cloud/connecting-to-mariadb-cloud-dbs/connection-overview.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.
