Redis 连接命令

更新时间: 2019-07-07 15:54

Redis 连接命令主要是用于连接 redis 服务。

实例

以下实例演示了客户端如何通过密码验证连接到 redis 服务,并检测服务是否在运行:

redis 127.0.0.1:6379> AUTH "password"
OK
redis 127.0.0.1:6379> PING
PONG

Redis 连接命令

下表列出了 redis 连接的基本命令:

序号 命令 描述
1 Redis Auth 命令 验证密码是否正确
2 Redis Echo 命令 打印字符串
3 Redis Ping 命令 查看服务是否运行
4 Redis Quit 命令 关闭当前连接
5 Redis Select 命令 切换到指定的数据库

更多命令请参考:Redis 命令

The Four

The Four

Scott Galloway / Portfolio / 2017-10-3 / USD 28.00

NEW YORK TIMES BESTSELLER USA TODAY BESTSELLER Amazon, Apple, Facebook, and Google are the four most influential companies on the planet. Just about everyone thinks they know how they got there.......一起来看看 《The Four》 这本书的介绍吧!

随机密码生成器

随机密码生成器

多种字符组合密码

RGB HSV 转换

RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具

RGB CMYK 转换工具

RGB CMYK 互转工具