-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redis bitcount example not working #2578
Comments
The running instance you're connecting to is probably not version 3.0.1 |
redis_version:2.4.14 I checked the version. It is 2.4.14, can you guide me of how to fix this? |
Upgrade your instance (that involves restarting it, so if this is a production instance carefully plan this) |
I replied in the other side (Stack Overflow) and imagined this was the case... and asked for INFO indeed :-) Closed. |
I was playing with redis and tried the bitcount example: http://redis.io/commands/bitcount
127.0.0.1:6379> SET mykey "foobar"
OK
127.0.0.1:6379> BITCOUNT mykey
(error) ERR unknown command 'BITCOUNT'
my redis version are as follows:
mohit@mohit:
$ redis-server --version$ redis-cli --versionRedis server v=3.0.1 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=ecf41ef76feca5d
mohit@mohit:
redis-cli 3.0.1
I verified with the website, 3.0.1 is the latest stable version. What went wrong in this arrangement
The text was updated successfully, but these errors were encountered: