连接redis时出现错误:Could not connect to Redis at 127.0.0.1:6379: Connection refused
在redis/etc/目录下找到redis.conf
将daemonize no 修改为 daemonize yes
再输入 redis-server /edis.conf的绝对路径
最后redis-cli,就ok了
连接redis时出现错误:Could not connect to Redis at 127.0.0.1:6379: Connection refused
在redis/etc/目录下找到redis.conf
将daemonize no 修改为 daemonize yes
再输入 redis-server /edis.conf的绝对路径
最后redis-cli,就ok了