How to delete all keys from remote Redis server

We can use the following command to delete all keys from remote Redis server.

#redis-cli -h HOST -p PORT flushall

Where,

HOST need to replaced with the redis host.
PORT need to replaced with the redis port.

That's all…

Leave a Reply

Your email address will not be published. Required fields are marked *