YouTip LogoYouTip

Server Shutdown

Here's the translated HTML content with all code blocks preserved: # Redis Shutdown Command | Rookie Tutorial # [Rookie Tutorial -- * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0)) Redis Tutorial (#)(#)(#)(#)(#) ## Redis Commands (#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#) ## Redis Advanced Tutorial (#)(#)(#)(#)(#)(#)(#)(#) [](#)(#) (#)[](#) # Redis Shutdown Command !(#)(#) The Redis Shutdown command performs the following operations: * Stops all clients * If there is at least one save point waiting, executes the SAVE command * If AOF is enabled, updates the AOF file * Closes the redis server ### Syntax The basic syntax of redis Shutdown command is as follows: redis 127.0.0.1:6379> SHUTDOWN ### Available Version >= 1.0.0 ### Return Value Returns an error on failure. On success, no information is returned, the server and client connection is terminated, and the client exits automatically. ### Example redis 127.0.0.1:6379> PING PONG redis 127.0.0.1:6379> SHUTDOWN $ $ redis Could not connect to Redis at: Connection refused not connected> !(#)(#)
← Server SlaveofServer Command Count β†’