Invalid argument during startup: Failed to open the .conf file: redis.conf CWD=C

301 阅读1分钟

Redis出现错误: Invalid argument during startup: Failed to open the .conf file: redis.conf CWD=C 1、按照第一篇文章先配置redis-server的环境变量,复制redis.windows.conf,重命名为redis.conf 2、在默认文件目录下使用redis-server redis-conf出现错误,按照第二篇文章写的,个人还是感觉有点麻烦,我的做法是,直接将重命名好的redis.conf复制到默认文件夹下即可。 image.png

参考文章: 1、blog.csdn.net/qq_37928228… 2、blog.csdn.net/A227311/art…