问题原文
原帖链接 · Karl Morrison · CC BY-SA 3.0
I get the error:
(error) NOAUTH Authentication required.
When in redis-cli and trying to display the KEYS *. I've only set a requirepass not an auth afaiac. I'm in the redis.conf but do not know what to do.
已采纳解答
原帖链接 · Itamar Haber · CC BY-SA 4.0
Setting the requirepass configuration directive causes the server to require password authentication with the AUTH command before sending other commands. The redis.conf file states that clearly:
Require clients to issue AUTH before processing any other
commands. This might be useful in environments in which you do not trust
others with access to the host running redis-server.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
