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

Support caching_sha2_password authentication plugin with Proxy in Unix Socket mode #2317

Open
jackwotherspoon opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
priority: p0 Highest priority. Critical issue. P0 implies highest priority. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@jackwotherspoon
Copy link
Collaborator

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 the caching_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:

ERROR 1045 (28000): Access denied for user 'my-user'@'cloudsqlproxy~34.124.164.49' (using password: YES)

The 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:

@jackwotherspoon jackwotherspoon added priority: p0 Highest priority. Critical issue. P0 implies highest priority. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Oct 29, 2024
@jackwotherspoon jackwotherspoon self-assigned this Oct 29, 2024
@jackwotherspoon jackwotherspoon changed the title Support cachine_sha2_password authentication plugin with Proxy in Unix Socket mode Support caching_sha2_password authentication plugin with Proxy in Unix Socket mode Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p0 Highest priority. Critical issue. P0 implies highest priority. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant