Home > Database > Redis > body text

How to exit redis normally

Release: 2019-06-25 18:03:24
Original
9254 people have browsed it

How to exit redis normally

Execute the following command to disconnect the redis connection normally:

How to exit redis normally

Redis common commands:

1. Check whether redis is running: ps aux | grep redis

2. Start redis: redis-server redis-conf

3. Shut down redis: redis-cli shutdown

4. After setting the password, the above shutdown command is invalid: enter with password: redis-cli -a [password], press Enter and enter: shutdown

to close redis, enter exit quit.

For more Redis-related technical articles, please visit the Redis Tutorial column to learn!

The above is the detailed content of How to exit redis normally. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template