How to stop the Redis server? The stop method command started by the script: /etc/init.d/redis_6380 stop ##If you do not use a script to start, you need to use the redis-cli shutdown command to stop Command: redis-cli -p 8888 shutdownredis-cli -p 6379 shutdown
Force end the program. Using kill -9 the pid of the process, forcibly terminating the Redis process may result in the loss of redis persistence;
For more Redis-related technical articles, please visit Learn in the Redis Getting Started Tutorial column!
The above is the detailed content of How to stop redis. For more information, please follow other related articles on the PHP Chinese website!