How to find out Redis version

If you want to find the version of the server: $ redis-server -v For example in my system I get this result: Redis server v=2.8.4 sha=00000000:0 malloc=libc bits=64 build=92637893332b8579 If you want to get the version of the client: $ redis-cli -v If you want to know the version of the server, from the client: … Read more

Rescue : Connection refused – Unable to connect to Redis on localhost:6379

Have you verified redis-server is running? Please don’t ask me to dissect the following command, but in a terminal you can type: ps aux | grep redis You should then see something like: redis 13319 0.0 0.0 2884 1056 ? Ss 10:54 0:00 /usr/bin/redis-server /etc/redis/redis.conf If it’s not running, I recommend issuing the following command: … Read more

this command is not available unless the connection is created with admin-commands enabled

Updated answer for StackExchange.Redis: var conn = ConnectionMultiplexer.Connect(“localhost,allowAdmin=true”); Note also that the object created here should be created once per application and shared as a global singleton, per Marc: Because the ConnectionMultiplexer does a lot, it is designed to be shared and reused between callers. You should not create a ConnectionMultiplexer per operation. It is … Read more

redis dump.rdb / saving small files

To be a little more helpfull… How to find or set where redis is saving the dump.rdb file (ubuntu server): First find you redis.conf file: In your terminal run: ps -e aux | grep redis I found my redis.conf file in: var/etc/redis/ If yours is the same place then open the file with: pico var/etc/redis/redis.conf … Read more

How to disable Redis RDB and AOF?

If you want to change the redis that is running, log into the redis, and disable the aof: config set appendonly no disable the rdb: config set save “” If you want to make these changes effective after restarting redis, using config rewrite to make these changes to redis conf file. If your redis have … Read more

Is Redis a memory only store like memcached or does it write the data to the disk

Redis persistence is described in detail here: http://redis.io/topics/persistence By default, redis performs snapshotting: By default Redis saves snapshots of the dataset on disk, in a binary file called dump.rdb. You can configure Redis to have it save the dataset every N seconds if there are at least M changes in the dataset, or you can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)