Redis (error) NOAUTH Authentication required.解决方法

Redis (error) NOAUTH Authentication required.解决方法

2018年05月02日 20:04:06 EchoShelter 阅读数:276ui

原文地址:https://blog.csdn.net/basycia/article/details/52176025 
出现这个问题,多是由于设置了密码,可是没有登陆,能够尝试进行登陆。spa

127.0.0.1:6379> auth "yourpassword"
  • 1

例如密码是‘root’,当出现认证问题时候,输入“auth ‘root’”便可.net

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"
  • 1
  • 2
  • 3
  • 4
  • 5

能够进入code

127.0.0.1:6379> auth "root"
OK
相关文章
相关标签/搜索