Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: The support homepage carousel is not displaying. We are working toward a resolution.

Qlik Talend Data Integration: MYSQL fails to connect when using a tSetKeyStore in the same Job

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Shicong_Hong
Employee
Employee

Qlik Talend Data Integration: MYSQL fails to connect when using a tSetKeyStore in the same Job

Last Update:

Dec 9, 2025 3:07:52 AM

Updated By:

Shicong_Hong

Created date:

Dec 9, 2025 3:08:20 AM

A Job design is shown below, using a tSetKeystore component to set the keystore file in the preJob, followed by using a tMysqlConnection to establish a MYSQL connection. However, MYSQL fails to connect. 

Job_design_fails.png

Nevertheless, by changing the order of the components as demonstrated below, the MYSQL connection is successful.

Job_design_successful.png

 

Resolution

To address this issue, you can choose from the following solutions without altering the order of the tSetKeyStore and tMysqlConnection components.

 

Disable useSSL parameter

Add the following parameter to the Additional JDBC Parameters Field of tMysqlConnection:
AdditionalParameter.png
 

Isolate the MYSQL connection in a separate child Job

To isolate the MYSQL connection, create a separate subJob. Use a tRunJob to execute the subJob and ensure the 'Use an independent process to run subJob' option is checked. The Job design is outlined below. 
mainJob.png
subJob.png

 

Cause

tSetKeyStore sets values for javax.net.ssl properties, thereby affecting the subsequent components. Most recent MySQL versions use SSL connections by default. Since the Java SSL environment has been modified, the MySQL JDBC driver inherits these changes from tSetKeyStore, which can potentially impact the connection.

 

Environment

Version history
Last update:
4 hours ago
Updated by: