Bug #104569 | Connector/Python >=8.0.22, MySQL <5.7.13 throws exception on close with pooling | ||
---|---|---|---|
Submitted: | 9 Aug 2021 3:20 | Modified: | 2 Mar 2022 18:06 |
Reporter: | Atsushi Suzuki | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S2 (Serious) |
Version: | 8.0.22, 8.0.23, 8.0.24, 8.0.25, 8.0.26 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[9 Aug 2021 3:20]
Atsushi Suzuki
[9 Aug 2021 6:48]
MySQL Verification Team
Hello Suzuki-San, Thank you for the report and feedback. This sounds like doc issue to me but intended behavior as part of BUG27489937 fix but I'm unable to locate any change log which confirms version specific note. regards, Umesh
[9 Aug 2021 12:11]
Atsushi Suzuki
Thank you for replying. I believe this is implementation issue because 1) It breaks backward compatibility 2) It's not consistent with pure-python implementation behavior (https://github.com/mysql/mysql-connector-python/blob/c4729e84a6849fe584034663af39c0ccde92f...) 3) It's not consistent with other comments (https://github.com/mysql/mysql-connector-python/blob/c4729e84a6849fe584034663af39c0ccde92f... https://github.com/mysql/mysql-connector-python/blob/c4729e84a6849fe584034663af39c0ccde92f...)
[2 Mar 2022 18:06]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Python 8.0.29 release, and here's the proposed changelog entry from the documentation team: When connecting to MySQL Server versions below 5.7.35, servers failed to execute change_user commands due to the default collation used by Connector/Python; a problem that affected connection pooling functionality by raising an exception when closing a pooled connection. Now Connector/Python reconnects instead of emitting the exception. Thank you for the bug report.