You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on upgrading mysql-connector-java to version 8.0.28 - PR. This is needed to resolve security vulnerabilities. I creating this issue to discuss the obstacles that I am facing during the process. Please let me know if this is not the right place.
With the upgrade the com.mysql.jdbc.NonRegisteringDriver#parseURL method used in org.apache.druid.utils.ConnectionUriUtils is no longer available. So, I have resorted to instantiating com.mysql.cj.conf.ConnectionUrlParser with the connection string and then used the "getProperties" method to fetch the properties. This method is still not a like-to-like replacement as we do not get the response back in the earlier format.
Is com.mysql.cj.conf.ConnectionUrlParser the right way to proceed or should I write a custom parser based on the logic previous used or is there something else I should look at? Appreciate your help!
The text was updated successfully, but these errors were encountered:
mustajibmk
changed the title
Mysql-connectorjava upgrade
Mysql-connector-java upgrade
Nov 23, 2023
I am working on upgrading mysql-connector-java to version 8.0.28 - PR. This is needed to resolve security vulnerabilities. I creating this issue to discuss the obstacles that I am facing during the process. Please let me know if this is not the right place.
With the upgrade the
com.mysql.jdbc.NonRegisteringDriver#parseURL
method used inorg.apache.druid.utils.ConnectionUriUtils
is no longer available. So, I have resorted to instantiatingcom.mysql.cj.conf.ConnectionUrlParser
with the connection string and then used the "getProperties" method to fetch the properties. This method is still not a like-to-like replacement as we do not get the response back in the earlier format.Is
com.mysql.cj.conf.ConnectionUrlParser
the right way to proceed or should I write a custom parser based on the logic previous used or is there something else I should look at? Appreciate your help!The text was updated successfully, but these errors were encountered: