連接redis時出現錯誤:Could not connect to Redis at 127.0.0.1:6379: Connection refused
在/usr/local/etc/目錄下找到redis.conf
將daemonize no 修改為 daemonize yes
再輸入 redis-server /usr/local/etc/redis.conf
redis-cli
done!
連接redis時出現錯誤:Could not connect to Redis at 127.0.0.1:6379: Connection refused
在/usr/local/etc/目錄下找到redis.conf
將daemonize no 修改為 daemonize yes
再輸入 redis-server /usr/local/etc/redis.conf
redis-cli
done!
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。