You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE USER 'sha256_user'@'%' IDENTIFIED WITH sha256_password BY 'sha256_secret';
now when i connect to mysql using mysql.sock file, authentication fails. I get following error:
Error 1045: Access denied for user 'sha256_user'@'localhost' (using password: YES)
i debugged driver code, and found that we are sending password in cleartext if it is unix transport. instead if we send encrypted on unix transport it succeeds.
I have configured mysql user as below:
now when i connect to mysql using
mysql.sock
file, authentication fails. I get following error:i debugged driver code, and found that we are sending password in cleartext if it is unix transport. instead if we send encrypted on unix transport it succeeds.
to be precise, if we change auth.go:277
from:
to:
it works.
The text was updated successfully, but these errors were encountered: