如何在客户端设置redis密码

只需要一行代码
config set requirepass 123456
其中123456是设置的密码,可以任意替换

原文地址:https://www.cnblogs.com/mayite/p/13920755.html