redis设置密码

配置文件中:

requirepass 密码

使用

./redis-cli -h 192.168.0.100 -p6379 -a 密码
posted @ 2019-05-15 22:50  琴似蓝调  阅读(248)  评论(0编辑  收藏  举报