Caused by: io.lettuce.core.RedisCommandExecutionException: ERR Client sent AUTH, but no password is

it2023-08-15  72

1.遇到这种情况是redis的客户端需要认证,但是却没有进行验证登录。 2.操作如下: 1)启动redis

cd /usr/local/bin /usr/local/bin/redis-server /usr/local/bin/redis.conf

2)进行认证

cd /usr/local/bin ./redis-cli -h 127.0.0.1 auth 1234 //12434是redis的密码 config set requirepass 1234

具体的可以参考该链接: https://blog.csdn.net/hancc_824/article/details/108694357 部分的安装redis的模块。

最新回复(0)