部署與使用時的一些筆記

redis-server.exe redis.windows.conf
redis-server --service-install redis.windows.conf
redis-server --service-uninstall
redis-server --service-stop
redis-server --service-start
cd D:\Program Files\Redis2
[20856] 26 Dec 20:13:19.019 # Fatal error loading the DB: Invalid argument. Exit
ing.


windows下安裝redis第一次啓動報錯:
[2368] 21 Apr 02:57:05.611 # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
解決方法:在命令行中運行
redis-cli.exe
127.0.0.1:6379>shutdown
not connected>exit
然後重新運行redis-server.exe redis.windows.conf,啓動成功!
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章