如何打开redis文件位置

1758
2020/12/14 12:42:41
栏目: 云计算
开发者测试专用服务器限时活动,0元免费领,库存有限,领完即止! 点击查看>>

如何打开redis文件位置

打开redis文件位置的方法:

可通过配置文件“redis.conf”查看文件路径,再通过文件路径打开redis文件位置。

查看文件路径:

# The filename wherre to dump the DB

dbfilename dump.rdb //文件名

# The working directory.

#

# The DB will be written inside this directory,with the filename specified

# above using the 'dbfilename' configuration directive.

#

# The Append Only File will also be created inside this directory.

#

# Note that you must specify a directory here, not a filename.

dir ./ //文件存放路径

辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>

推荐阅读: RedisLua脚本是什么