Bug #101596 | Get the 'host' property error after calling transformProperties() method | ||
---|---|---|---|
Submitted: | 13 Nov 2020 8:36 | Modified: | 5 Mar 2021 19:31 |
Reporter: | Yifan Qian (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.0.12 and later | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[13 Nov 2020 8:36]
Yifan Qian
[13 Nov 2020 8:57]
Yifan Qian
Please see the PR at https://github.com/mysql/mysql-connector-j/pull/57
[13 Nov 2020 11:41]
Filipe Silva
Hi Yifan Qian, So true! Thank you for your contribution.
[13 Nov 2020 11:47]
Filipe Silva
Please don't forget to sign the OCA so that we can use your patch and give you attribution for it. Thanks again.
[5 Mar 2021 19:31]
Daniel So
Posted by developer: Added the following entry to the Connector/J 8.0.24 changelog: "Connections to a server could not be established when the user supplied an implementation of the ConnectionPropertiesTransform interface using the connection property peopertiesTransform. This was because Connector/J called PropertyKey.PORT.getKeyName() instead of PropertyKey.HOSt.getKeyName() for getting the host name, and that has been corrected by this fix."