[Security Fix] Upgrade mysql connector to 8.2.0
Description
Upgrade MySql connector to 8.2.0 to fix security vulnerabilities.
Release note
Key changed/added classes in this PR
- Upgrade version
- Replace deprecated classes with the new ones - https://dev.mysql.com/doc/connectors/en/connector-j-upgrading-to-8.0.html
- The upgraded version of MySQL connector does not have the
parseURLmethod incom.mysql.jdbc.NonRegisteringDriverpreviously used. Instead, we use thecom.mysql.cj.conf.ConnectionUrlParserwhich only checks if the schema of the string matches the prescribed format. The test cases related to string parsing are hence removed.
This PR has:
- [x] been self-reviewed.
@mustajibmk are you still working on this, i have similar work: https://github.com/apache/druid/pull/16024#issuecomment-1976131021, my bad, i did not know you have already work on this. if you do not work on this any more, i can continue to work on this base on my pr. cc @abhishekagarwal87 and @cryptoe
@abhishekagarwal87 and @cryptoe may i continue to work on this, seems there is no response from 3 months ago. and i have a similar pr : https://github.com/apache/druid/pull/16024#issuecomment-1976131021 cc:@mustajibmk
Go ahead please
On Fri, 15 Mar 2024 at 2:29 AM, AlbericByte @.***> wrote:
@abhishekagarwal87 https://github.com/abhishekagarwal87 and @cryptoe https://github.com/cryptoe may i continue to work on this, seems there is no response from 3 months ago. and i have a similar pr : #16024 (comment) https://github.com/apache/druid/pull/16024#issuecomment-1976131021 @.*** https://github.com/mustajibmk
— Reply to this email directly, view it on GitHub https://github.com/apache/druid/pull/15408#issuecomment-1998474403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALIWUJJQDD2KKH4PB7ITJTYYIFUBAVCNFSM6AAAAAA7UBROZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGQ3TINBQGM . You are receiving this because you were mentioned.Message ID: @.***>
@AlbericByte let's continue
@abhishekagarwal87 Let's shift to #16024 since @AlbericByte has also finished the work and I see all the CI checks are green.
Still thanks the work from @mustajibmk