[redis踩坑篇]Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379
11111
·
报错信息:
Caused by: io.lettuce.core.RedisCommandExecutionException: ERR Client sent AUTH, but no password is set
原因分析:把上面的文字翻译其实就知道了,客户端设置了auth认证,但没设置密码
注意如果redis的配置文件redis.conf:增加了requirepass(访问秘钥)配置文件上加【password】,否则不需要添加。
后续:
然后去掉注释后,在配置文件重新填写password,发现会报同样的错误,目前还没解决
更多推荐
已为社区贡献1条内容
所有评论(0)