Redis Auth 命令
Redis 教程
· 2019-03-08 11:58:37
Redis Auth 命令用于检测给定的密码和配置文件中的密码是否相符。
语法
redis Auth 命令基本语法如下:
redis 127.0.0.1:6379> AUTH PASSWORD
可用版本
>= 1.0.0
返回值
密码匹配时返回 OK ,否则返回一个错误。
实例
redis 127.0.0.1:6379> AUTH PASSWORD (error) ERR Client sent AUTH, but no password is set redis 127.0.0.1:6379> CONFIG SET requirepass "mypass" OK redis 127.0.0.1:6379> AUTH mypass Ok
点击查看所有 Redis 教程 文章: https://www.codercto.com/courses/l/33.html
Cracking the Coding Interview
Gayle Laakmann McDowell / CareerCup / 2015-7-1 / USD 39.95
Cracking the Coding Interview, 6th Edition is here to help you through this process, teaching you what you need to know and enabling you to perform at your very best. I've coached and interviewed hund......一起来看看 《Cracking the Coding Interview》 这本书的介绍吧!