bug之redis.exceptions.ResponseError


一、問題:

  今天在運行django項目,使用django_redis連接內存數據庫時,報了一個錯誤:

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

二、解決方法:

127.0.0.1:6379>> config set stop-writes-on-bgsave-error no

三、參考鏈接:

  https://blog.51cto.com/thedream/1944345

  https://www.cnblogs.com/icewky/p/12369144.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM