Windows環境下redis重啟

2022-09-19 23:06:14 字數 656 閱讀 1868

在redis安裝的目錄下開啟cmd視窗

輸入以下命令開啟啟動redis

redis-server redis.windows.conf
如果提示 creating server tcp listening socket *:6379: bind: no error,需要重啟redis

重啟步驟:

依次輸入以下指令

1.

redis-cli -h 127.0.0.1 -p 6379 shutdown
2.如果輸入上述指令,結果提示noauth authentication required.說明需要輸入密碼,繼續輸入指令:

redis-cli.exe
3.root是自己設定的redis密碼

auth "root"
4.

shutdown
5.這時redis已經成功關閉,再次輸入指令啟動服務

Windows環境下安裝Redis

執行redis server.exe即可 redis客戶端連線redis服務端 redis cli.exe h 127.0.0.1 p 6379 1.進入redis安裝包目錄,安裝服務 redis server.exe service install redis.windows.conf servi...

(三)Windows環境下Redis安裝

windows 64位 版本 2.8.9 windows 32位 版本 2.6 windows 64位 下安裝redis 其中 redis release notes.docx 檔案是關於redis的描述檔案 redis.windows.conf 檔案是預設的配置檔案 redisservice.do...

Redis在Windows環境下搭建

windows下redis專案 redis benchmark.exe redis效能測試工具 redis check aof.exe 更新日誌檢查 redis check dump.exe 本地資料庫檢查 redis cli.exe redis命令列客戶端操作工具 redis server.exe...