I'm new to memcached, so forgive me if this is a simple question. I just installed memcached on OSX leopard using macports. I set the memcached daemon to start automatically. I'm using it with a rails application and it seems to be working correctly.
However, I'm trying to execute a flush_all command from the command line so that I can manually expire my cache during development. I'm using: echo ”flush_all” | nc localhost 11211 But all I get back is ERROR. In fact, no matter what command I try to send to the memcached server it only says ERROR. I'm following the protocol docs here: http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt Any ideas as to what I might be doing wrong? Thanks, Carl
