【redis已解决】Warning: no config file specified, using the default config. In order to specify a config

怼烎@ 2024-03-31 16:55 180阅读 0赞

Warning: no config file specified, using the default config. In order to specify a config file use /redis-6.2/redis-server /path/to/redis.conf
在这里插入图片描述
在这里插入图片描述
点击这个报错
表示没有指定配置文件,使用默认配置。要指定配置文件,请使用redis-server /path/to/redis.conf
在这里插入图片描述

1、在cmd中redis-server.exe redis.windows.conf

在这里插入图片描述
启动成功

2、创建一个bat的后缀文件

(如果你怕麻烦就使用批处理)
在这里插入图片描述

redis-server.exe redis.windows.conf

直接点击start.bat就可以直接运行配置文件

就可以解决本文的问题

发表评论

表情:
评论列表 (有 0 条评论,180人围观)

还没有评论,来说两句吧...

相关阅读