Documentation - Redise Cloud

A guide to Redise Cloud operation and administration

open all | close all

Using flush_all for Memcached Cloud

flush_all for SASL Protected Memcached Cloud Databases

If your resource has SASL authentication enabled, you can’t use nc command or telnet to run flush_all on your Memcached Cloud resource. You will have to download a Memcached CLI client that supports SASL. We recommend to use the bmemcached-CLI client, and the instructions here is for this client. This instruction refers to Ubuntu OS. Please make the necessary changes if you are using other Linux flavor.

$ wget
$ sudo apt-get install unzip python-pip
$ unzip -d bmemcached-cli
$ cd bmemcached-cli/bmemcached-cli-master/
$ sudo pip install --upgrade pip
$ sudo pip install . -r requirements.pip

Now you can run the flush_all command using the bmemcached-cli. The usage is simple:

bmemcached-cli [user]:[password]@[host]:[port]

usage example:

$ bmemcached-cli
([B]memcached) flush_all

flush_all for Memcached Cloud Databases

$ telnet 12345
Connected to
Escape character is '^]'.
Connection closed by foreign host.