Redis设置密码

1、方式一:

修改redis.conf配置文件,打开配置项requirepass配置(在配置文件中比较靠后的地方)

重启生效

原文地址:https://www.cnblogs.com/zhi-leaf/p/10974797.html