// connectionType=DATABASE
{
"authConfig": {
"connectionType": "DATABASE",
host": "localhost",
"user": "test",
"password": "dGVzdA==",
"database": "test",
"port": "3306",
"maxConnections": 10,
"customDriverId": ""
}
}
// connectionType=JDBCURL
{
"authConfig": {
"connectionType": "JDBCURL",
"user": "user",
"password": "cGFzc3dvcmQ=",
"jdbcUrl": "jdbc:mysql://{host}:{port}/{database}",
"maxConnections": 10,
"customDriverId": ""
}
}
// connectionType=DATABASE
{
"authConfig": {
"connectionType": "DATABASE",
"host": "localhost",
"database": "catlog",
"schema": "schema",
"user": "user",
"port": "8080",
"maxConnections": 10,
"customDriverId": ""
}
}
// connectionType=JDBCUR
{
"authConfig": {
"connectionType": "JDBCURL",
"database": "catlog",
"schema": "schema",
"user": "user",
"password": "",
"jdbcUrl": "jdbc:trino://{host}:{port}/{catalog}/{schema}?param1=value1¶m2=value2",
"maxConnections": 10,
"customDriverId": ""
}
}