Javatpoint Logo
Javatpoint Logo

Redis Connections

Redis connection commands are used to control and manage client connections with Redis Server.


Following example explains how a client authenticates itself to Redis server and checks whether the server is running or not.

Redis Connections 1

Note: Here you can see that "password" is not set so you can access any command directly.

Redis Connection Commands

Following is a list of some basic connection commands used in Redis database:

Index Commands Description
1 AUTH password It is used to authenticate to the server with the given password.
2 ECHO message It is used to print the given string.
3 PING It is used to check whether the server is running or not.
4 QUIT It is used to close the current connection.
5 SELECT index It is used to change the selected database for the current connection

Next TopicRedis Server

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA