> For the complete documentation index, see [llms.txt](https://docs.syntho.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.syntho.ai/setup-workspaces/create-a-workspace/connect-to-a-database.md).

# Connect to a database

## Define the source and destination database

Before you can synthesize your data, you must first create a workspace by connecting to a **source** and **destination** database. The **source** database contains the data that you want to synthesize. The **destination** database is the location where you want to write the synthetic data to.

Syntho supports connecting to a variety of different databases.

### Supported databases

<table data-view="cards"><thead><tr><th></th><th align="center"></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td></td><td align="center"><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2Fgit-blob-1d43f888a2339ac1f722a920d625db2e90159c68%2Fdatabricks-ar21.svg?alt=media" alt="" data-size="original"></td><td></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/databricks.md">Databricks</a></td><td></td></tr><tr><td></td><td align="center"><img src="https://content.gitbook.com/content/U61B9DqtWCNO3Z30vnjh/blobs/op0mQZYLME1HEY8DjU8V/ibm_db2.svg" alt="" data-size="original"></td><td></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/db2.md">DB2 for LUW</a></td><td></td></tr><tr><td></td><td align="center"><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2Fgit-blob-ecb6393b69acc1b804923618c6a151b38f053567%2Fmariadb-ar21.svg?alt=media" alt=""></td><td></td><td><a href="https://github.com/shahin-hu/Translations/blob/main/English/setup-workspaces/create-a-workspace/connect-to-a-database/broken-reference/README.md">https://github.com/shahin-hu/Translations/blob/main/English/setup-workspaces/create-a-workspace/connect-to-a-database/broken-reference/README.md</a></td><td></td></tr><tr><td></td><td align="center"><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2Fgit-blob-fc9fbedb106421cdd2c83a8be42293a56284f9b7%2Fmysql-ar21.svg?alt=media" alt=""></td><td></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/mysql-mariadb.md">MySQL / MariaDB</a></td><td></td></tr><tr><td></td><td align="center"><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2Fgit-blob-60a3887e604556200ec82d711a0328e92f5cad1f%2Foracle-ar21.svg?alt=media" alt=""></td><td></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/oracle.md">Oracle</a></td><td></td></tr><tr><td></td><td align="center"><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2Fgit-blob-517562eb1037c81b802412058c216fa1facaed58%2Fpostgresql-ar21.svg?alt=media" alt=""></td><td></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/postgresql.md">PostgreSQL</a></td><td></td></tr><tr><td></td><td align="center"><img src="https://content.gitbook.com/content/U61B9DqtWCNO3Z30vnjh/blobs/EwG4pwgSLCx4bN0faujC/pngfind.com-sql-png-4183674.png" alt=""></td><td></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/microsoft-sql-server.md">Microsoft SQL Server</a></td><td></td></tr></tbody></table>

### Supported filesystems (destination only)

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"></td><td align="center"><img src="https://content.gitbook.com/content/U61B9DqtWCNO3Z30vnjh/blobs/03iska3Z4G2DNDy7A43s/10.%20adls.png" alt=""></td><td align="center"></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/azure-data-lake-storage-adls.md">Azure Data Lake Storage (ADLS)</a></td></tr><tr><td align="center"></td><td align="center"><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2Fgit-blob-2b77ed73aad2b805e2355dffda4bc122bacd8c03%2F11.%20amazon-s3.svg?alt=media" alt="" data-size="original"></td><td align="center"></td><td><a href="/setup-workspaces/create-a-workspace/connect-to-a-database/amazon-simple-storage-service-s3.md">Amazon Simple Storage Service (S3)</a></td></tr></tbody></table>

## Batch size options

Syntho processes data in batches. **Batch size** controls the maximum datapoints Syntho reads, generates, and writes per batch. Lower values reduce memory usage for large databases. To change this setting, see [View and adjust generation settings](/configure-a-data-generation-job/generation-and-validation/view-and-adjust-generation-settings.md#advanced-generation-settings).

## Request a new connector

If Syntho doesn't have a native (built-in) connector for your data, you can request it with your Syntho contact person. Syntho regularly reviews requests by customers to help determine and prioritize what features should be added to the product.

## Connector considerations & limitations

This section outlines the general considerations and limitations associated with various connectors. For specific considerations or limitations of a particular connector, visit its respective page.

* All connectors, except for Microsoft SQL Server, write special Unicode characters as-is (e.g., `De\u200bC → De\u200bC`).
* For Microsoft SQL Server, behavior depends on the driver:
  * ODBC Driver: Interprets and removes special Unicode characters (`De\u200bC → DeC`).
  * FreeTDS Driver: Cannot interpret special characters, replacing them with `?` (`De\u200bC → De?C`).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.syntho.ai/setup-workspaces/create-a-workspace/connect-to-a-database.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
