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.
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.
Setting the
requirepass
configuration directive causes the server to require password authentication with theAUTH
command before sending other commands. The redis.conf file states that clearly:first run
then after the prompt run
if all ok you get the
OK
Just use following command.
comment requirepass (line 480 mostly) in redis.conf file if uncommented.
NOAUTH requires to authenticate via AUTH method before executing any get/set/etc. call, in predis that can be done via the auth() method, for example:
specific your redis password in the
redis-cli
command line eg:check your
$your_password
.It's recommend to add double quote to the password on the command line.