当前位置:网站首页>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
边栏推荐
- Redis之发布订阅
- Mathematical modeling 2004b question (transmission problem)
- Post training quantification of bminf
- [OC foundation framework] - [set array]
- BN折叠及其量化
- Reids之缓存预热、雪崩、穿透
- [OC foundation framework] - string and date and time >
- AcWing 2456. Notepad
- [oc foundation framework] - < copy object copy >
- 基于WEB的网上购物系统的设计与实现(附:源码 论文 sql文件)
猜你喜欢
Intel Distiller工具包-量化实现2
数字人主播618手语带货,便捷2780万名听障人士
The five basic data structures of redis are in-depth and application scenarios
Kratos ares microservice framework (II)
Blue Bridge Cup_ Single chip microcomputer_ Measure the frequency of 555
CUDA implementation of self defined convolution attention operator
In depth analysis and encapsulation call of requests
【图的三大存储方式】只会用邻接矩阵就out了
IDS cache preheating, avalanche, penetration
Reids之删除策略
随机推荐
Intel Distiller工具包-量化实现2
Opencv+dlib realizes "matching" glasses for Mona Lisa
Advance Computer Network Review(1)——FatTree
AcWing 2456. Notepad
基于B/S的网上零食销售系统的设计与实现(附:源码 论文 Sql文件)
QML type: locale, date
一文读懂,DDD落地数据库设计实战
Intel distiller Toolkit - Quantitative implementation 2
What is an R-value reference and what is the difference between it and an l-value?
Appears when importing MySQL
LeetCode:124. Maximum path sum in binary tree
Five layer network architecture
Improved deep embedded clustering with local structure preservation (Idec)
使用标签模板解决用户恶意输入的问题
Once you change the test steps, write all the code. Why not try yaml to realize data-driven?
Global and Chinese market of metallized flexible packaging 2022-2028: Research Report on technology, participants, trends, market size and share
Redis core configuration
Blue Bridge Cup_ Single chip microcomputer_ Measure the frequency of 555
[oc]- < getting started with UI> -- common controls - prompt dialog box and wait for the prompt (circle)
Reids之缓存预热、雪崩、穿透