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

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已解决】Warning: no config file specified, using the default config. In order to specify a config_第1张图片
【redis已解决】Warning: no config file specified, using the default config. In order to specify a config_第2张图片
点击这个报错
表示没有指定配置文件,使用默认配置。要指定配置文件,请使用redis-server /path/to/redis.conf
【redis已解决】Warning: no config file specified, using the default config. In order to specify a config_第3张图片

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

【redis已解决】Warning: no config file specified, using the default config. In order to specify a config_第4张图片
启动成功

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

(如果你怕麻烦就使用批处理)
【redis已解决】Warning: no config file specified, using the default config. In order to specify a config_第5张图片

redis-server.exe redis.windows.conf

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

就可以解决本文的问题

你可能感兴趣的:(redis,数据库,redis,java)