Home  >  Article  >  Database  >  How to stop redis

How to stop redis

(*-*)浩
(*-*)浩Original
2019-11-29 10:07:266541browse

How to stop redis

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

How to stop redis

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;

How to stop redis

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to start redisNext article:How to start redis