DB2 Connections
You can create connections to one or more DB2 databases from Designer Cloud Powered by Trifacta Enterprise Edition.
Note
This method of creating DB2 connections is supported for customer-managed installations of Designer Cloud Powered by Trifacta Enterprise Edition.
Note
Only connections to DB2 for Windows and Unix/Linux are supported.
Supported Versions: v10.5.5
Supported Environments:
Operation | Designer Cloud Powered by Trifacta Enterprise Edition | Amazon | Microsoft Azure |
---|---|---|---|
Read | Supported | Supported | Supported |
Write | Not supported | Not supported | Not supported |
Prerequisites
If you haven't done so already, you must create and deploy an encryption key file for the Trifacta node to be shared by all relational connections. For more information, see Create Encryption Key File.
Configure
To create this connection:
In the Import Data page, click the Plus sign. Then, select the Relational tab. Click the DB2 card.
You can also create connections through the Connections page. See Connections Page.
Modify the following properties as needed:
Property | Description |
---|---|
Host | Enter your hostname. Example: myDB2.example.com |
Port | Set this value to |
Connect String Options | Please insert any connection options as a string here. |
Database Name | Enter the name of the DB2 database to which to connect. |
User Name | (basic credential type only) Username to use to connect to the database. |
Password | (basic credential type only) Password associated with the above username. |
Test Connection | After you have defined the connection credentials type, credentials, and connection string, you can validate those credentials. |
Default Column Data Type Inference | Set to |
Connection Name | Display name of the connection |
Connection Description | Description of the connection, which appears in the application. |
Create connection via API
This connection can also be created using the API.
API: API Reference
Type:
jdbc
Vendor:
db2
For more information, see https://api.trifacta.com/ee/9.7/index.html#operation/createConnection
Reference
Connection URL
The properties that you provide are inserted into the following URL, which connects Designer Cloud Powered by Trifacta Enterprise Edition to the connection:
jdbc:trifacta:db2://<host>:<port>
The connect string options are optional. If you are passing additional properties and values to complete the connection, the connect string options must be structured in the following manner:
;<prop1>=<val1>;<prop2>=<val2>;...
where:
<prop>
: the name of the property<val>
: the value for the property
delimiters:
;
: any set of connect string options must begin and end with a semi-colon.=
: property names and values must be separated with an equal sign (=
).
Driver Information
This connection uses the following driver:
Driver name:
com.trifacta.connect.jdbc.db2.DB2Driver
Note
The driver in use is a proprietary version of the driver listed in the documentation. The behavior and property name are the same.
Driver version:
DataDirect 5.1.4
Driver documentation: https://docs.progress.com/bundle/datadirect-connect-jdbc-51/page/DB2-Driver.html
Use
For more information, see Database Browser.
Data Conversion
For more information on how values are converted during input and output with this database, see DB2 Data Type Conversions.