Redis on Windows - config file

You may have installed Redis 3.2.100 from (https://github.com/microsoftarchive/redis/releases). But this gave me the errors.

To fix that, download Redis 5.0.9 from (https://github.com/tporadowski/redis/releases). Run this server, and you'll be good.


All you need to do is to run the redis-server.exe followed by the filename of your config file.

eg:

D:\Coding\RedisIO>redis-server.exe redis.windows.conf

And for the db file you need to add / change the line in the config file:

# The filename where to dump the DB
dbfilename dump.rdb

and below of that in the config file the entry

# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
# 
# The Append Only File and the QFork memory mapped file will also be created 
# inside this directory.
# 
# Note that you must specify a directory here, not a file name.
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
# 
# The Append Only File and the QFork memory mapped file will also be created 
# inside this directory.
# 
# Note that you must specify a directory here, not a file name.
dir ./

Tags:

Redis