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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章