[Solved] Redis Connect Error: ERR Client sent AUTH, but no password is set

The cause of the problem: redis password is not set

 

Solution: Enter the Redis folder from the command line:

D:\Redis-x64-3.2.100>redis-cli.exe

Check whether a password is set:

127.0.0.1:6379> auth root

(error) ERR Client sent AUTH, but no password is set

Explain that no password is set, execute the command:

127.0.0.1:6379> config set requirepass root

OK

When OK appears, the setting is successful

redis 127.0.0.1:6379> CONFIG SET requirepass “123456”
OK
redis 127.0.0.1:6379> AUTH 123456
Ok

Just set this configuration password

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *