All Products
Search
Document Center

DataWorks:DM

Last Updated:Nov 07, 2024

Property definition

  • Data source type: dm

  • Supported configuration mode (ConnectionPropertiesMode): Connection string mode (UrlMode)

Connection string mode

Parameter

Type

Example

Required

Description

address

JSON Array

[
    {
        "host": "127.0.0.1",
        "port": 3306
    }
]

Yes

The address, which is configured in the JSON array format but contains only a single pair of host and port.

username

String

xxxxx

Yes

The username.

password

String

xxxxx

Yes

The password.

properties

JSON Object

{
    "schema": "db1"
}

No

The properties of the driver.

envType

String

Dev

Yes

The information about the data source environment. Valid values:

  • Dev: The development environment.

  • Prod: The production environment.

Configuration examples

Connection string mode

{
    "address": [
        {
            "host": "127.0.0.1",
            "port": 5432
        }
    ],
    "properties": {
        "schema": "db1"
    },
    "username": "xxxxx",
    "password": "xxxxx",
    "envType": "Dev"
}