1、方式一:

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

重启生效

posted on 2019-06-04 17:20  玄同太子  阅读(301)  评论(0编辑  收藏  举报