Connecting to MySQL with SSL

Six Stars

Connecting to MySQL with SSL

Hello everyone,

 

I have a talend job which connects to mysql database with ssl enabled. By default ssl will be used. How i do add the ssl to my additional jdbc parameters in the tmysqlconnection component?

 

I tried various combinations of :

"noDatetimeStringSync=true&useSSL=true&requireSSL=true" ,

"noDatetimeStringSync=true&useSSL=true&requireSSL=true"

 and "noDatetimeStringSync=true&verifyServerCertificate=false&useSSL=true"     

and nothing worked?

 

The jov failed with the following error:

 

 

 

Can somone help me ?

Moderator

Re: Connecting to MySQL with SSL

Hello,

Please refer to this article about:https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-using-ssl.html.

Adding useSSL=true option in the additional parameters. And the java key store must be updated as described in the url above.

Let us know if it helps.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now