使用redis-cli shutdown redis时出现(error) ERR Errors trying to SHUTDOWN. Check logs.报错的解决办法

解决方法:

找到你使用的redis.conf文件

ctrl+f(vscode远程连接)查找logfile

找到后设置自己的log文件路径

使用redis-cli shutdown redis时出现(error) ERR Errors trying to SHUTDOWN. Check logs.报错的解决办法_第1张图片

使用chmod 777给log文件授予权限

你可能感兴趣的:(redis,数据库,缓存)