Geert
08/20/2025, 1:52 PMkapa.ai
08/20/2025, 1:52 PM"schemas": ["*"] to automatically select all schemas or streams in a MySQL source configuration. The Airbyte MySQL source connector typically discovers all tables (streams) within the specified database, and you can select which streams to sync via the Airbyte UI under the "Schema" tab. There is no documented support for a "schemas" field in the MySQL source configuration JSON, nor for using wildcards to select all schemas or tables by default. If your goal is to sync all tables from a single schema (database), you should omit the "schemas" field entirely. Airbyte will then discover all tables in the specified "database" and you can enable all streams (tables) in the UI or via the API. If you want to automate this, you may need to programmatically enable all discovered streams after the source is set up, but this is not done via the source configuration JSON itself. Here is an adjusted example of the configuration JSON (note the removal of the "schemas" field): json { "mysql": { "workspaceId": "id", "configuration": { "sourceType": "mysql", "host": "host", "port": 3306, "database": "database", "username": "root", "password": "password", "replication_method": { "method": "CDC" } }, "name": "mysql" } } After setting up the source, use the Airbyte UI or API to select all streams for syncing. If you have multiple schemas in your MySQL instance and want to sync from all of them, Airbyte currently requires you to create separate source connections for each schema/database, as there is no built-in support for multi-schema selection in a single connection. This limitation is also discussed in [this GitHub issue](https://github.com/airbytehq/airbyte/issues/18042). Summary: - Remove the "schemas" field from your configuration. - Airbyte will discover all tables in the specified database. - Select all streams in the UI or via API after source setup. - Multi-schema support in a single connection is not available at this time. If you need to automate stream selection, you may need to use Airbyte's API to programmatically enable all streams after discovery, but this is not handled in the source configuration JSON itself. References: - [Configuring Schemas](https://docs.airbyte.com/platform/using-airbyte/configuring-schema) - [GitHub Issue: Source MySQL: different schemas with same prefix and same tables](https://github.com/airbytehq/airbyte/issues/18042)Geert
08/20/2025, 2:31 PMkapa.ai
08/20/2025, 2:36 PMkapa.ai
08/20/2025, 2:36 PMGeert
08/20/2025, 10:33 PMkapa.ai
08/20/2025, 10:33 PMkapa.ai
08/20/2025, 10:34 PMGET /streams endpoint. This endpoint allows you to fetch the available stream properties (schema) for a given source and destination pair. You need to provide the sourceId and destinationId as query parameters. Optionally, you can set ignoreCache=true to force a fresh schema discovery from the source. Example request: GET /streams?sourceId=<SOURCE_ID>&destinationId=<DESTINATION_ID>&ignoreCache=true This will return a list of streams (tables) and their properties, including sync modes, cursor fields, primary keys, and field definitions. This is the recommended way to programmatically fetch the source schema via the Airbyte Public API [see API reference](https://reference.airbyte.com/reference/getstreamproperties). Note: - For Airbyte OSS users, the API path prefix is /api/public/v1 (e.g., `http://localhost:8000/api/public/v1/streams`) [API documentation](https://docs.airbyte.com/platform/next/api-documentation). - Authentication and additional headers may be required depending on your Airbyte deployment. Summary: Use the GET /streams endpoint with the appropriate parameters to query the source schema programmatically via the Airbyte API [API YAML](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml).Geert
08/20/2025, 11:06 PMkapa.ai
08/20/2025, 11:06 PMkapa.ai
08/20/2025, 11:06 PMGET /streams API request. The documentation describes the endpoint, its parameters, and the general structure of the response (such as including stream names, sync modes, cursor fields, and property fields), but does not provide a full sample response body with actual data fields and values [see API YAML](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml). If you need a specific example, you may need to run the API call against your Airbyte instance to see the actual response format.