windows双击redis-server.exe启动redis时,报错:

#Warning: no config file specified, using the default config. In order to specify a config file use redis-server.exe /path/to/redis.conf

意思是没有使用默认的conf文件

解决办法:在命令行中执行redis-server.exe redis.windows.conf,就可以了。
redis启动错误: Warning: no config file specified, using the default config. In order to specify a config

如果嫌弃每次都得输入命令,可以在redis安装的根目录下,新建一个start.bat文件,redis-server.exe redis.windows.conf放在文件里,双击start.bat即可启动。

相关文章:

  • 2021-10-25
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-12-29
  • 2021-07-19
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案