Using flush_all for Memcached Cloud
Follow the instructions below to use flush_all.
flush_all for SASL Protected Memcached Enterprise Cloud Databases
If your resource has SASL authentication enabled, you can't use nc command or telnet to run flush_all on your Memcached Enterprise Cloud resource. You 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 https://github.com/RedisLabs/bmemcached-cli/archive/master.zip $ sudo apt-get install unzip python-pip $ unzip master.zip -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 memcached-app123:firstname.lastname@example.org:1010 ([B]memcached) flush_all True exit
flush_all for Memcached Enterprise Cloud Databases
$ telnet memcached-12345.c69.us-east-1-2.ec2.cloud.redislabs.com 12345 Trying 184.108.40.206... Connected to memcached-12345.c69.us-east-1-2.ec2.cloud.redislabs.com. Escape character is '^]'. flush_all OK quit Connection closed by foreign host.