Skip to content

Instantly share code, notes, and snippets.

@maxicecilia
Created November 7, 2014 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxicecilia/06d883ffd18c9be2b899 to your computer and use it in GitHub Desktop.
Save maxicecilia/06d883ffd18c9be2b899 to your computer and use it in GitHub Desktop.
How to flush memcache & redis
$ telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
flush_all
OK
quit
Connection to localhost closed by foreign host.
$ redis-cli
$redis> flushall
OK
$redis> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment