0
点赞
收藏
分享

微信扫一扫

service redis stop Stopping ... (error) NOAUTH Authentication required.

Go_Viola 2022-06-24 阅读 93

redis停止报错

Stopping ...
(error) NOAUTH Authentication required.
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...

因为设置了密码,可以先登录客户端,再停止

./redis-cli

进入之后输入密码

[root@iZwz97hxl5q1kwu1lhn5cwZ bin]# ./redis-cli 
127.0.0.1:6379> AUTH password

再执行

127.0.0.1:6379> shutdown

然后服务就停了

not connected>

重新启动

[root@iZwz97hxl5q1kwu1lhn5cwZ bin]# ./redis-server /etc/redis/6379.conf


举报

相关推荐

0 条评论