手动启动服务
1.配置密码:打开redis.windows.conf ,找到“requirepass”,取消注释,并设定你的密码。
# Require clients to issue AUTH <PASSWORD> before processing any other
# commands. This might be useful in environments in which you do not trust
# others with access to the host running redis-server.
#
# This should stay commented out for backward compatibility and because most
# people do not need auth (e.g. they run their own servers).
#
# Warning: since Redis is pretty fast an outside user can try up to
# 150k passwords per second against a good box. This means that you should
# use a very strong password otherwise it will be very easy to break.
#
requirepass 123456
2.命令行启动redis:在redis安装目录下打开cmd窗口
redis-server redis.windows.conf
或者将“redis.windos.conf”拖到redis-server.exe中启动。