-
Notifications
You must be signed in to change notification settings - Fork 354
Support caching_sha2_password
authentication plugin with Proxy in Unix Socket mode
#2317
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
Comments
cachine_sha2_password
authentication plugin with Proxy in Unix Socket modecaching_sha2_password
authentication plugin with Proxy in Unix Socket mode
Hi @jackwotherspoon is there an ETA on a fix for this? We're looking to update our MySQL 5.7 databases to 8.4 but are being blocked by this bug because it's affecting App Engine connections to Cloud SQL. We use PHP so can't use the connector workaround. |
@simon-peek-poke I know the MySQL team is actively working on the fix to this. Let me reach out and see if they can provide me with an ETA. Will report back 😄 |
As a workaround connect once with tcp, and then you can connect with sockets.
|
From further research it seems that workaround is only temporary due to some server caching mecahanism. |
@dantheperson Yes the I have escalated this issue internally to the MySQL team and they are hoping to get the fix out for it ASAP. |
Does this issue affect accounts with access via IAM Group authentication, or does it only affect native/built-in database users? |
@dantheperson I believe this issue should only affect native/built-in database users. IAM database users (IAM user, service account, groups etc.) all go through their own different authentication flow. |
Hi there! I'm wondering if there is a timeline for resolving this issue? |
@copyrighthero Yes, although I can't provide a specific date but I can detail the plans. For Due to these changes they require several rollouts which will take some time, the tentative completion based on this would be some time in Q3. |
Uh oh!
There was an error while loading. Please reload this page.
The Cloud SQL Proxy currently does not support the
caching_sha2_password
authentication plugin when listening over a unix socket.This is an issue as in MySQL 8.4,
caching_sha2_password
has now become the default authentication plugin. Any new database users created with thecaching_sha2_password
will be unable to log in via the Proxy over unix socket.Failed logins are not always clear that the authentication plugin is the root cause of the issue:
Some Cloud SQL Language Connectors are a viable alternative and workaround at the moment as they work with MySQL 8.4 and the
caching_sha2_password
plugin:Unfortunately, the Java connector does not work with MySQL 8.4. We are actively working on a fix for the Java connector also.
The text was updated successfully, but these errors were encountered: