HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Redis connection command is mainly used to connect redis service.
The following example demonstrates how clients connect via password authentication to redis service and testing services are running:
redis 127.0.0.1:6379> AUTH "password" OK redis 127.0.0.1:6379> PING PONG
The following table lists the basic commands redis connection:
No. | Command and description |
---|---|
1 | AUTH password Verify that the password is correct |
2 | ECHO message Print string |
3 | PING Check the service is running |
4 | QUIT Close the current connection |
5 | SELECT index Switch to the specified database |