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
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
mysql -h127.1 -udummy -P6000 -pdummy
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'dummy'@'127.0.0.1' (using password: NO)
The user dummy is not created.
2. What did you expect to see? (Required)
ERROR 1045 (28000): Access denied for user 'dummy'@'127.0.0.1' (using password: YES)
The value of using password should be YES.
3. What did you see instead (Required)
ERROR 1045 (28000): Access denied for user 'dummy'@'127.0.0.1' (using password: NO)
The value of using password is NO.
4. What is your version? (Required)
master
The text was updated successfully, but these errors were encountered:
The reason:
When TiProxy handshakes with TiDB, it sends auth_plugin=unknown_auth_plugin and auth_data=nil. TiDB sees that auth_data=nil and then sets using password to NO.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
The user
dummy
is not created.2. What did you expect to see? (Required)
ERROR 1045 (28000): Access denied for user 'dummy'@'127.0.0.1' (using password: YES)
The value of
using password
should beYES
.3. What did you see instead (Required)
ERROR 1045 (28000): Access denied for user 'dummy'@'127.0.0.1' (using password: NO)
The value of
using password
isNO
.4. What is your version? (Required)
master
The text was updated successfully, but these errors were encountered: