redis日常操作

1、连接服务器端

redis-cli -h 127.0.0.1

2、配置密码

config set requirepass "ningbo,123"

删除配置的密码

config set requirepass ""

3、.密码登录

auth 密码

posted @ 2022-06-13 17:21  gbc  阅读(8)  评论(0)    收藏  举报