[php-src] PR #14118: Fixed `mysql_native_password` being used due to empty password
| From: | KentarouTakeda | Date: | Fri, 03 May 2024 03:38:59 +0000 |
| Subject: | [php-src] PR #14118: Fixed `mysql_native_password` being used due to empty password | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25994@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14118
Author: KentarouTakeda
I resolved a test failure on CircleCI with the newly released MySQL 8.4 Server. This issue is
discussed in the following references:
https://externals.io/message/123253
#14112
#14113
In MySQL 8.4, the authentication plugin
mysql_native_password is no longer loaded by
default.However, mysqlnd still defaults to using mysql_native_password as the
authentication method when the password is not set, as specified in
.circleci/config.yml.
The same test passes on GitHub Actions because the password is set as follows:
https://github.com/php/php-src/blob/master/.github/workflows/push.yml#L52-L54
By aligning the test configurations in CircleCI with those in GitHub Actions, we can ensure
compatibility with MySQL 8.4 Server.