LINUX下 redis 报错 (error) NOAUTH Authentication required
LINUX下 redis 报错 (error) NOAUTH Authentication required[root@123 src]# ./redis-cli -h 127.0.0.1 -p 6379Could not connect to Redis at 127.0.0.1:6379: Connection refusedCould not connect to Redis at 1...
·
LINUX下 redis 报错 (error) NOAUTH Authentication required
[root@123 src]# ./redis-cli -h 127.0.0.1 -p 6379
Could not connect to Redis at 127.0.0.1:6379: Connection refused
Could not connect to Redis at 127.0.0.1:6379: Connection refused
ps -ewff | grep redis
root 1846 1 0 Mar13 ? 00:04:38 /usr/local/bin/care-redis_server 127.0.0.1:6380
查看是由于端口被改为6380导致,
[root@123 src]# redis-cli -h 127.0.0.1 -p 6380
127.0.0.1:6380>
连接成功。但是又遇到 (error) NOAUTH Authentication required.
127.0.0.1:6379> get keys
(error) NOAUTH Authentication required.
由于密码错误,导致,使用以下命令输入正确密码:
127.0.0.1:16380> auth '1234'
OK
更多推荐
已为社区贡献1条内容
所有评论(0)