Latest web development tutorials

Redis Quit command

Redis connection

Redis Quit command is used to close the connection to the current client and redis service.

Once all waiting reply (if any) successfully written to the client, the connection will be closed.

grammar

redis Quit command basic syntax is as follows:

redis 127.0.0.1:6379> QUIT 

Available versions

> = 1.0.0

return value

Always returns OK.

Examples

redis 127.0.0.1:6379> QUIT
OK

Redis connection