redis设置密码后停止服务报错,NOAUTH Authentication required

Redis NOAUTH Authentication required

可以修改/etc/init.d/redis文件中的stop命令

$CLIEXEC -p $REDISPORT shutdown
改为
$CLIEXEC -a "password" -p $REDISPORT shutdown
上面"password"为你设置的密码

Redis NOAUTH Authentication required

 再次停止服务,服务成功关闭

 Redis NOAUTH Authentication required

 

相关文章:

  • 2021-11-23
  • 2021-07-13
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2021-11-26
猜你喜欢
  • 2021-05-16
  • 2022-12-23
  • 2021-06-17
  • 2022-02-22
  • 2021-04-21
  • 2021-06-27
  • 2022-12-23
相关资源
相似解决方案