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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dipanjan93
Contributor
Contributor

How to use Additional JDBC Parameters to connect MySQL

Hello ,

 

I am trying to connect MySQL DB with Additional JDBC Parameter as per the below expression -

 

"noDatetimeStringSync=true & useSSL=true & requireSSL=true & ssl_key=D:/xxx/key.pem & ssl_cert=D:/xxx/cert.pem & ssl_ca=D:/xxx/ca.pem & zeroDateTimeBehavior=CONVERT_TO_NULL"

 

Could you please let me know how to use the correct version of it? As using the above expression is throwing an exception as below -

 

Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at com.mysql.cj.protocol.ExportControlled$X509TrustManagerWrapper.checkServerTrusted(ExportControlled.java:379)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(Unknown Source)
... 27 more
Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
at java.security.cert.CertPathValidator.validate(Unknown Source)
at com.mysql.cj.protocol.ExportControlled$X509TrustManagerWrapper.checkServerTrusted(ExportControlled.java:372)

 

Thanks.

Labels (4)
1 Reply
Anonymous
Not applicable

Hello,

Could you please let us know if this community article helps?

https://community.talend.com/t5/Architecture-Best-Practices-and/Learned-By-Doing-How-to-connect-a-St...

Best regards

Sabrina