本文介绍了Redis中的数据目录在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在将一些数据写入redis服务器后,我可以从客户端读取数据。 但是,如何在文件系统上找到数据目录?
After writing some data to a redis server, I could read the data from a client. However, how can I find the data directory on the file system?
推荐答案最快的方法:使用redis-cli 。
Quickest method: use redis-cli.
redis-cli config get dir如果您配置了身份验证,则需要使用 -a密码将密码替换为密码。
If you have authentication configured, you will need to pass that in using -a password Replacing "password" with your password.
更多推荐
Redis中的数据目录在哪里?
发布评论