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

# Databases

> Give agents read-only SQL access to PostgreSQL, Redshift, MySQL, SQL Server, Trino, Snowflake, BigQuery, Databricks, and Oracle.

A database connector gives agents read-only SQL access to the tables its database user can read. Each engine has its own card under [Databases & Data](https://docs.corvic.ai/connector-vault/catalog/databases-data.md); you can also choose **Add Custom Connector → Storage/Databases** and pick the **Driver** in the form.

## Supported databases

| Database | Sign-in | Extra options |
| - | - | - |
| **PostgreSQL** | Username and password | Replication login for [change data capture](https://docs.corvic.ai/connector-vault/postgres-cdc.md), TLS certificates, Dedicated IP, Private Networking |
| **Amazon Redshift** | Username and password | |
| **MySQL** | Username and password | |
| **Microsoft SQL Server** | Username and password | |
| **Trino** | Username and password | |
| **Snowflake** | Username with a password or a key pair (**Private key**) | |
| **Google BigQuery** | **Service account key** | |
| **Databricks** | **Access token** | |
| **Oracle** | Username and password, optionally connecting as SYSDBA | [Change data capture](https://docs.corvic.ai/connector-vault/oracle-cdc.md), TLS certificates (TCPS), Dedicated IP, Private Networking |

## Add a database

**1. Pick the driver**

Select the database's card, or choose the **Driver** in the form.

**2. Say where it is**

Enter the connection **URI** (for Oracle, the **DSN**, such as `db.example.com:1521/ORCLPDB1`). Under **Target**, choose the public internet or one of your [private networks](https://docs.corvic.ai/virtual-network/private-networking.md).

**3. Enter credentials**

Enter the sign-in the driver needs. Use a database user that can read only what your agents need.

**4. Name, test, and save**

Give the connector a **Name** and **Description**, then save. Corvic tests the connection in stages and tells you which stage failed, if any.

> [!WARNING]
>
> A read-only session isn't a security boundary. Give the database user only the privileges your agents need. See [What a connector can reach](https://docs.corvic.ai/connector-vault/access-and-security.md#what-a-connector-can-reach).

## Related Documentation

> [card] [Postgres change data capture](https://docs.corvic.ai/connector-vault/postgres-cdc.md)
>
> Keep a live copy of Postgres tables.

> [card] [Oracle change data capture](https://docs.corvic.ai/connector-vault/oracle-cdc.md)
>
> Keep a live copy of Oracle tables.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.