Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

一、 错误分析

NOAUTH Authentication required. 

意思:需要NOAUTH身份验证,那你输入密码验证就可以。

二、解决办法

1.进入安装redis的目录

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

2.查看redis目录中的文件,找到redis.conf

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

3.编写redis.conf

可以输入/requirepass快速查找,后面的就是设定的密码

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

4.重新连接redis-cli即可

这是查看redis的进程

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

启动redis-server服务

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

启动redis-cli 服务进行认证即可

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

Redis 出现(error)NOAUTH Authentication required. 报错的解决办法,秒懂!

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/ae8c5a5b71.html