windows Redis启动报错:[3868] # Creating Server TCP listening/bash: redis-server.exe: command not found

1. bash: redis-server.exe: command not found


不要在git bash中运行redis-server.exe redis.windows.conf, 使用windos的cmd运行

2. [3868] 22 Apr 21:25:11.003 # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error


由于已经运行了redis, 导入无法创建

cmd在Redis的根目录中执行
redis-cli.exe
shutdown
exit

然后在执行redis-server.exe redis.windows.conf

即可

windows Redis启动报错:[3868] # Creating Server TCP listening/bash: redis-server.exe: command not found


参考文章

redis启动出错Creating Server TCP listening socket 127.0.0.1:6379: bind: No error