出现认证问题,应该是设置了认证密码,输入密码既可以啦

注意密码是字符串形式!

127.0.0.1:6379> auth "yourpassword" 

 

     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 "root"


127.0.0.1:6379> auth "root"

密码输入正确后可以进入

OK

相关文章:

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