Skip to content

Commit 7220e5b

Browse files
committed
BUG#36731062: mysql_native_password plugin not bundled with the C-extension
Starting with version 9.0.0 the mysql_native_password client-side plugin is required for connection to MySQL accounts that use native password authentication. That plugin is not bundled with the connector and hence it is impossible to make such a connection. With this patch, the mysql_native_password plugin is bundled like the connector bundles other authentication plugins such as authentication_kerberos_client and authentication_webauthn_client. Change-Id: Ic47de6a075b8789893330a18c5839e8c87605fcd
1 parent abb266e commit 7220e5b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ v9.0.0
1515
- WL#16318: Deprecate Cursors Prepared Raw and Named Tuple
1616
- WL#16284: Update the Python Protobuf version
1717
- WL#16283: Remove OpenTelemetry Bundled Installation
18+
- BUG#36731062: mysql_native_password plugin not bundled with the C-extension
1819
- BUG#36664998: Packets out of order error is raised while changing user in aio
1920
- BUG#36611371: Update dnspython required versions to allow latest 2.6.1
2021
- BUG#36570707: Collation set on connect using C-Extension is ignored

mysql-connector-python/cpydist/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ def _copy_vendor_libraries(self):
283283
("Kerberos", f"authentication_kerberos_client.{plugin_ext}"),
284284
("OCI IAM", f"authentication_oci_client.{plugin_ext}"),
285285
("WebAuthn", f"authentication_webauthn_client.{plugin_ext}"),
286+
("MySQL Native", f"mysql_native_password.{plugin_ext}"),
286287
]
287288

288289
for plugin_name, plugin_file in plugin_list:

0 commit comments

Comments
 (0)