首页 > 其他 > 详细

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

时间:2017-08-21 14:27:45      阅读:328      评论:0      收藏:0      [点我收藏+]

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

注意密码是字符串形式!

[plain] view plain copy
  1. 127.0.0.1:6379> auth "yourpassword"  

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

[plain] view plain copy
  1. 127.0.0.1:6379> set name "hello"  
  2. (error) NOAUTH Authentication required.  
  3. 127.0.0.1:6379> (error) NOAUTH Authentication required.  
  4. (error) ERR unknown command ‘(error)‘  
  5. 127.0.0.1:6379> auth "root"  

可以进入

127.0.0.1:6379> auth "root"
OK

 

 
 

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

原文:http://www.cnblogs.com/xingzc/p/7404108.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!