-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameter order in connection string makes a difference #1853
Comments
Hey @Chrriis that is strange. I recall from an example I saw (trying to find it again, it's been awhile), when explicitly defining all the connection properties like you have eg. I'll need to look into this some more. |
Another kind of URL which works and that seems more natural is with a |
Just an update after some further investigation. It looks like it is absolutely necessary to have a delimiting In the case of connection string 2, it errored out because since The reason we need the |
Driver version
11.1.2
Problem description
When creating report for bug #1852, I simplified my my properties by putting them all into the connection string. I noticed that certain connections were not working depending on the order of parameters.
Here is a standalone test case that illustrate the problem, switching the first 2 parameters:
Simply replace the "xxxxx" by real data. The first call prints OK, the second call fails with "java.net.UnknownHostException: serverName=localhost" after a timeout of about 15s.
The text was updated successfully, but these errors were encountered: