redis命令集 查看使用运行服务:ping 关闭服务的连接:quit 切换数据库:select index 连接: redis-cli -h 127.0.0.1 -p 6379 -a myPassword 查看密码: config get requirepass 设置密码: config set requirepass newPassword 连接后进行验证: auth myPassword posted on 2017-11-30 00:36 hllive 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/hllive/p/7923905.html