ext/mysqlnd: Change default auth plugin to caching_sha2_password
#14113
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hope the test passes.
Looking at the failed tests in CI, it seems that the error message when trying to log in with a non-existing user is different than before. This is probably because the user was not found on the MySQL side and could not automatically select an authentication method, and tried to log in with the default authentication method.
Since
native_password
will be deprecated in the future, will change the default authentication method.https://app.circleci.com/pipelines/github/SakiTakamachi/php-src/613/workflows/d9d97b7e-01b1-461c-8213-27e0a5fc3c4e/jobs/612