Skip to content
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

mysql-client: fix add authentication plugins in [email protected] #181805

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cswingler
Copy link

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

This addresses #180498 .

The MySQL 9.0 client is not built with support for older authentication methods by default, which breaks the ability for the MySQL client, and packages that depend on it, to connect to servers still using authentication methods like mysql_native_password. This adjusts the build process to add those back in as plugins.

@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Aug 20, 2024
This adds the `-DWITH_AUTHENTICATION_CLIENT_PLUGINS=yes` flag to add
support for older MySQL authentication methods. This support was in the
default build prior to MySQL 9.0, but were dropped with that release.
Closes Homebrew#180498
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Aug 20, 2024
@SMillerDev
Copy link
Member

Can you make an issue upstream requesting they enable this by default and add that as a comment? From the linked thread it seems like upstream thinks it's default already.

@cho-m cho-m changed the title Turn on authentication plugins in [email protected] mysql-client: fix add authentication plugins in [email protected] Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants