赞
踩
requirepass foobared
requirepass 123456 //设置的密码
E:\home\redis>redis-server.exe redis.windows.conf
C:\Users\liuzx>redis-cli
127.0.0.1:6379> keys *
(error) NOAUTH Authentication required.
127.0.0.1:6379> auth 123456
OK
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。