mysql: change default auth plugin from mysql_native_password
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Extracted from: https://github.com/php/php-src/pull/18555
Change mysql_native_password as default auth protocol from codebase:
https://github.com/php/php-src/blob/7e956f879e77a0d6ff08521f69d7758b93045293/ext/mysqlnd/mysqlnd_enum_n_def.h#L37
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in ext/mysqlnd/mysqlnd_enum_n_def.h at the referenced default authentication protocol and read the linked MySQL documentation on mysql_native_password deprecation and removal. Determine the supported replacement and update the default consistently, then verify that the codebase no longer selects mysql_native_password by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, mysql
- Domain
- authentication, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100