Change and Save Redis configuration during running
This article shows how to change
Redis
configuration from command line and save the changes without shutting downRedis
.
redis-cli -h IP -p PORT
get all config
config get *
## get prefix
config get p*
change config
config set PARA VALUE
## e.g.
config set protected-mode no
save
config rewrite
## get config_file location and verify changes
info server
Leave a message
Disclaimer
- Welcome to visit the knowledge base of SRE and DevOps!
- License under CC BY-NC 4.0
- Made with Material for MkDocs and improve writing by generative AI tools
- Copyright issue feedback me#imzye.com, replace # with @