- Trifacta® Enterprise Edition
- Trifacta Professional Edition
- Trifacta Premium
You can create connections to one or more MySQL databases from Trifacta®. For more information on MySQL, see https://www.mysql.com/.
Tip: You can create connections to databases of this type that are managed by your enterprise or are hosted in cloud infrastructure. The required configuration is the same. The cloud-based version is labeled on Amazon RDS. In the Create Connection dialog, you can search for that term.
If you are connecting Trifacta to any relational source of data, such as Redshift or Oracle, you must add the Trifacta Service to your whitelist for those resources. See Whitelist Platform Service.Supported Versions: 5.7 and 8.0 Community
- Read: Supported
- Write: Supported
To create this connection:
- In the Import Data page, click the Plus sign. Then, select the Relational tab. Click the MySQL card.
- You can also create connections through the Connections page.
- See Connections Page.
Modify the following properties as needed:
Enter your fully qualified hostname. Example:
|Port||Set this value to |
|Connect String Options|
Insert any additional connection parameters, if needed. See below.
|User Name||Username to use to connect to the database.|
|Password||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.|
|Advanced options: Default Column Data Type Inference|
|Advanced options: Enable SSH Tunneling|
If available, the SSH tunneling options allow you to configure SSH tunneling authentication between the Trifacta application and your database.
NOTE: SSH tunneling is available on a per-connection basis. It may not be available for all connections.
For more information, see Configure SSH Tunnel Connectivity.
|Connection Name||Display name of the connection|
|Connection Description||Description of the connection, which appears in the application.|
The properties that you provide are inserted into the following URL, which connects Trifacta to the connection:
Connect string options
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:
<prop>: the name of the property
<val>: the value for the property
&: all additional property names must be prefixed with an ampersand (
=: property names and values must be separated with an equal sign (
Default connect string options
The following connect string options are specified by default.
NOTE: These options should not be overridden or modified.
The following connect string option requires the driver to use cursor-based fetching to retrieve rows.
Enable TLS (SSL)
You can insert the following connection string option to enable secure (TLS) connectivity with the MySQL server. Please note the TLS version numbers in the string listed below:
This connection uses the following driver:
- Driver version:
- Driver documentation:https://dev.mysql.com/doc/connector-j/8.0/en/
Create via API
This connection can also be created using the API.
|1042 - ER_BAD_HOST_ERROR|
Unable to connect to host. Please verify the host and port values.
|1045 - ER_ACCESS_DENIED_ERROR|
Credentials failed to connect. Please verify your credentials.
Tip: Click the Test Connection button to verify that your credentials are working properly.
Set the following option in the connect string options:
|Prepared statement needs to be re-prepared.|
Database Cursor is not compatible with PREPARED statements in MySQL. The fix is to set the following in the Connect String Options:
|SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)||SSL ciphers need to be enabled. For more information, see "Enable TLS (SSL)" above.|
For more information on error messages for this connection type, see https://dev.mysql.com/doc/refman/8.0/en/error-handling.html.
For more information, see Database Browser.
For more information on how values are converted during input and output with this database, see MySQL Data Type Conversions.
This page has no comments.