linux 命令行 Redis (error) NOAUTH Authentication required.解决
出现认证问题,是因为redis设置了认证密码。启动后输入下面命令127.0.0.1:6379> auth yourpassword我的密码是redis123127.0.0.1:6379> set name hello(error) NOAUTH Authentication required.127.0.0.1:6379> (error) NOAUTH Authenticatio
·
出现认证问题,是因为redis设置了认证密码。
启动后输入下面命令
127.0.0.1:6379> auth yourpassword
我的密码是redis123
127.0.0.1:6379> set name hello
(error) NOAUTH Authentication required.
127.0.0.1:6379> (error) NOAUTH Authentication required.
(error) ERR unknown command '(error)'
127.0.0.1:6379> auth redis123
ok
就可以正常操作redis了。
更多推荐
已为社区贡献1条内容
所有评论(0)