-
Notifications
You must be signed in to change notification settings - Fork 352
Open
Labels
priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
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)
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.
recipe, yoshi-koyama, rzk, copyrighthero, ernestoalejo and 5 more
Metadata
Metadata
Assignees
Labels
priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.