Re: Aletrnative to ParseURL in Connector/J version
Posted by: Mustajib Khan
Date: December 08, 2023 01:34PM

Thanks for the detailed explanation, Filipe. It was really helpful.

I have a question about validating if a connection string has all the required information and if the data present in the string is valid. I was using isConnectionStringSupported() in
`com.mysql.cj.conf.ConnectionUrlParser` class for this. This function returns that "jdbc:mysql:/invalid-url::3006" is valid but it isn't right.

Is this expected behaviour? If so is there any other build-in function in the new version of MySQL which I can use instead?

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.