Created
November 7, 2014 14:05
-
-
Save maxicecilia/06d883ffd18c9be2b899 to your computer and use it in GitHub Desktop.
How to flush memcache & redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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