文章内容
2020/8/25 18:22:25,作 者: 黄兵
redis-cli (error) NOAUTH Authentication required
如果Redis启用了密码登录,则在终端输入命令的时候,会出现如下提示:
(error) NOAUTH Authentication required
出现问题的原因:
由于Redis设置了密码,所以需要通过密码认证登录
解决方案:
可以使用如下命令登录:
redis-cli -h host.domain.com -p port -a yourpassword
或者首先运行如下命令:
redis-cli
之后认证:
127.0.0.1:6379> AUTH your_password
参考资料:
1、Redis (error) NOAUTH Authentication required
黄兵个人博客原创。
转载请注明出处:黄兵个人博客 - redis-cli (error) NOAUTH Authentication required
is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
redis.exceptions.DataError: Invalid input of type: 'bool'. Convert to a bytes, string, int or float first
redis.exceptions.DataError: Invalid input of type: 'bool'. Convert to a bytes, string, int or float first
评论列表