MariaDB
Updated at:
Configures a MariaDB data source in DataWorks using connection string mode (UrlMode).
Property definition
-
Data source type:
mariadb -
Supported configuration mode (
ConnectionPropertiesMode):UrlMode
Connection string mode
|
Parameter |
Type |
Required |
Example |
Description |
|
|
JSON Array |
Yes |
|
|
|
|
String |
Yes |
|
The name of the database. |
|
|
String |
Yes |
|
The username used to connect to the database. |
|
|
String |
Yes |
|
The password of the database user. |
|
|
JSON Object |
No |
|
Additional driver properties, specified as key-value pairs. |
|
|
String |
Yes |
|
The environment of the data source. Valid values: |
Configuration examples
Connection string mode
{
"address": [
{
"host": "127.0.0.1",
"port": 3306
}
],
"database": "db",
"properties": {
"connectTimeout": "2000"
},
"username": "xxxxx",
"password": "xxxxx",
"envType": "Dev"
}
Is this page helpful?