I am running Redis on Windows and have not been able to run it using the config file.
I tried running:
redis-server 'filepath'/conf/redis.conf
but I get the error saying
"redis fatal error can't open config file"
How can I resolve this issue and have the Redis server read the config file?
You can obtain a list of all the supported configuration parameters by typing CONFIG GET * in an open redis-cli prompt. All the supported parameters have the same meaning of the equivalent configuration parameter used in the redis.
The Redis configuration file is located at installdir/redis/etc/redis. conf.
This is an example of how I solved mine
redis-server C:/Users/<name>/Downloads/redis/64bit/redis.conf & --daemonize yes
For windows:
redis-server "CONFIG_FILE_PATH"
Please make sure that config and log file have file read and write permission. You can also specify the config path for Linux in the same way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With