当前位置:网站首页>Redis connection redis service command
Redis connection redis service command
2022-07-06 09:21:00 【~Pompeii】
Redis Connection redis The service command
1.auth
The command is used to detect whether the given password matches the password in the configuration file .
Return value : Returns when the password matches OK , Otherwise an error is returned .
AUTH PASSWORD
2.select
Select The command switches to the specified database , Database index number index Specify... With numeric values , With 0 As the starting index value .
By default 0 The database
SELECT index
3.ping
Ping The command uses the client to Redis Server sends a PING , If the server works properly , Will return a PONG .
It is usually used to test whether the connection to the server is still valid , Or to measure the delay value .
If the connection is OK, return a PONG , Otherwise, a connection error is returned .
PING
4.quit
The command is used to close the connection with the current client and redis Service connection
Return value : Always returns OK .
5.echo
Echo Command to print a given string
Return value : Returns the string itself .
ECHO message
6.clear
Clear the information on the screen
clear
7.help
Get the command help document , Get all command information names in the group
help Command name
help @ Group name
边栏推荐
- Improved deep embedded clustering with local structure preservation (Idec)
- Redis cluster
- BN折叠及其量化
- Redis之持久化实操(Linux版)
- Intel Distiller工具包-量化实现2
- Heap (priority queue) topic
- Blue Bridge Cup_ Single chip microcomputer_ PWM output
- 【文本生成】论文合集推荐丨 斯坦福研究者引入时间控制方法 长文本生成更流畅
- Simclr: comparative learning in NLP
- Kratos战神微服务框架(二)
猜你喜欢
Persistence practice of redis (Linux version)
[OC]-<UI入门>--常用控件的学习
【图的三大存储方式】只会用邻接矩阵就out了
LeetCode:124. Maximum path sum in binary tree
[oc]- < getting started with UI> -- common controls - prompt dialog box and wait for the prompt (circle)
QDialog
KDD 2022 paper collection (under continuous update)
Kratos ares microservice framework (I)
The carousel component of ant design calls prev and next methods in TS (typescript) environment
Sentinel mode of redis
随机推荐
【文本生成】论文合集推荐丨 斯坦福研究者引入时间控制方法 长文本生成更流畅
Mathematical modeling 2004b question (transmission problem)
xargs命令的基本用法
BN folding and its quantification
Leetcode: Jianzhi offer 04 Search in two-dimensional array
Redis之核心配置
Intel distiller Toolkit - Quantitative implementation 3
Redis之主从复制
一篇文章带你了解-selenium工作原理详解
An article takes you to understand the working principle of selenium in detail
Persistence practice of redis (Linux version)
LeetCode:387. The first unique character in the string
[OC]-<UI入门>--常用控件-UIButton
Intel Distiller工具包-量化实现3
A convolution substitution of attention mechanism
Reids之删除策略
一文读懂,DDD落地数据库设计实战
Redis之Lua脚本
The order of include header files and the difference between double quotation marks "and angle brackets < >
[oc foundation framework] - < copy object copy >