Get the App
SLTechnology News&Howtos  ›  Database  › 

Method of shutting down redis

Shulou Source: shulou.com Published: 2022-06-01 03:41:06 10月04日 Update

This article is about how to close redis. Xiao Bian thinks it is quite practical, so share it for everyone to make a reference. Let's follow the editor and have a look.

Redis is an open source, web-enabled, memory-based and persistent log, Key-Value database written in ANSI C and available in multiple languages.

How to close redis?

redis closed

Go to the redis node directory and execute the following command

./ redis-cli -p port number shutdown

redis activated

./ redis-server parameter

Parameters: redis.conf file full path

You need to go to the directory where redis is located to restart redis. At this time, the data in redis can still be recovered.

Thank you for reading! The method of closing redis is shared here. I hope the above content can be of some help to everyone so that everyone can learn more knowledge. If you think the article is good, you can share it so that more people can see it!

Tags: Methods contents parameters data more directories languages good practical memory slogans commands multiple locations databases files articles logs see knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology OPPO Reno Docker Xiaomi macOS