当你尝试在redis终端输入auth xxx(auth是固定值,xxx是你的密码),然后终端报错:
(error) ERR Client sent AUTH, but no password is set
意思:(错误)ERR客户端发送了AUTH,但未设置密码。
原因:你没有设置redis访问密码。
当然如果你非要设置访问密码,那么你可以在redis根目录找到 redis.windows-service.conf 文件;
接着在里面找到 requirepass foobared ,在其下面添加代码:
requirepass 123456
保存,重启redis服务;
最后在redis终端输入auth 123456返回OK即表示成功。
- password 密码 Client error redispassword密码client error password错误client redis password client auth sent error uninstall password ocurred error ssl_client_socket_impl handshake net_error password docker mysql error client target error found localhost password密码access 39 localhost password密码 password password_verify password_hash密码