赞
踩
安装Redis后使用auth验证是否安装成功(或者其它应用访问redis时报错),报ERR Client sent AUTH, but no password is set
127.0.0.1:6379> auth 123456
(error) ERR Client sent AUTH, but no password is set
Win10下,在安装完成Redis后,需要在命令行设置auth账户密码,并登录验证是否安装成功。
127.0.0.1:6379> config set requirepass 123456
OK
redis 127.0.0.1:6379> AUTH 123456
OK
登录成功。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。