问题
I am using the RedisToGo add-on on heroku.
How can I get the redis server version being used?
回答1:
Using the INFO
command in redis-cli will give this information.
For my situation: In my rails app have a constant called REDIS
that is initialized as a Redis client. Doing a REDIS.info
gave me the required information.
回答2:
They say explicitly on their site:
All new RedisToGo instances run with 2.8.9 as default. If you have an existing instance and need your version upgrading then please drop us a line and we’ll get you set up.
来源:https://stackoverflow.com/questions/21742051/redis-server-version-for-redistogo-on-heroku