The MariaDB connector uses configuration parameters to establish connections and authenticate with a MariaDB database. These parameters are configured at the connector instance level and are used by all MariaDB connector actions.
You can find the list of configuration parameters when you select the desired connector from the left pane.
This view displays all connector settings and configurations that are applied among all actions. You can use configuration parameters to store values that are shared across multiple tasks executed with the same connector, such as service endpoints and connection settings. Configuration parameters are configured at the connector instance level and are available to all actions performed by that connector.
When configuring authentication properties or connector parameters, use environment secret references instead of hardcoding credentials, API keys, tokens, or other sensitive values. Secrets are stored separately from application metadata, encrypted at rest, transmitted securely, and resolved only when needed during deployment or runtime.
Note that the secrets can be referenced in authentication and connector configuration only.
You can reference secrets defined in Studio Admin's Secrets section in authentication properties or connector parameters. Secrets are referenced by name using the ${secrets.SECRET_NAME} context expression, for example ${secrets.CLIENT_ID} or ${secrets.CLIENT_SECRET}.
The configuration parameters of the connector are:
| Parameter | Required | Description |
|---|---|---|
| DB_USERNAME | Required | The database user account used to connect to MariaDB and execute SQL statements. Example: connector-user. |
| DB_PASSWORD | Required | The password associated with the configured database user account. |
| MARIADB_HOST | Optional | The host name or IP address of the MariaDB server. Example: mariadb.example.com. |
| MARIADB_PORT | Optional | The port used by the MariaDB server. Example: 421. |
| DB_NAME | Optional | The name of the database against which SQL statements will be executed. Example: inventory. |
| DB_DATASOURCE | Required | The JDBC datasource connection string used to connect to MariaDB. By default, this value is constructed from MARIADB_HOST, MARIADB_PORT and DB_NAME: jdbc:mysql://${MARIADB_HOST}:${MARIADB_PORT}/${DB_NAME} |
| DB_DRIVER_CLASS_NAME | Optional | The JDBC driver used to communicate with MariaDB. The default value is org.mariadb.jdbc.Driver. |
| QUERY_TIMEOUT | Optional | Maximum time in seconds before an operation is aborted. The scope ranges from 60 s to 180 s. |