在我们使用 redis-cli 的时候会遇到一个认证的错误:

AUTH {Password}

find / -name redis.conf
查找 Redis 的配置文件, 并查阅配置文件:
vi redis.conf
使用 vi 检索配置字段 requirepass:
?requirepass
获取以下内容:
requirepass {Password}
{Password} 就是你的 Redis 服务设置的安全密码。
在我们使用 redis-cli 的时候会遇到一个认证的错误:

AUTH {Password}

find / -name redis.conf
查找 Redis 的配置文件, 并查阅配置文件:
vi redis.conf
使用 vi 检索配置字段 requirepass:
?requirepass
获取以下内容:
requirepass {Password}
{Password} 就是你的 Redis 服务设置的安全密码。