Skip to content

mysql: change default auth plugin from mysql_native_password #18659

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

Open
jorgsowa opened this issue May 25, 2025 · 1 comment
Open

mysql: change default auth plugin from mysql_native_password #18659

jorgsowa opened this issue May 25, 2025 · 1 comment

Comments

@jorgsowa
Copy link
Contributor

Description

Extracted from: #18555

Change mysql_native_password as default auth protocol from codebase:

#define MYSQLND_DEFAULT_AUTH_PROTOCOL "mysql_native_password"

Plugin mysql_native_password is deprecated in Mysql 8.4 and removed in Mysql 9.0:
https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html

@jorgsowa jorgsowa changed the title mysql: remove mysql_native_password from codebase mysql: change default auth plugin from mysql_native_password May 26, 2025
@NattyNarwhal
Copy link
Member

Note caching_sha2_password in mysqlnd is gated behind if SSL is available; usually on in most builds, but not necessarily in a minimal one (since it uses OpenSSL on unix). We'll have to account for that or mandate it, I assume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants