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

即可

在这里插入图片描述


参考文章

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

发布了207 篇原创文章 · 获赞 171 · 访问量 13万+

猜你喜欢

转载自blog.csdn.net/qq_36852780/article/details/105693425