Redis server 要是有配置文件,启动时一定指定配置文件
跳到导航
跳到搜索
Windows 上在 redis 根目录下的 redis.windows.conf
中进行了 requirepass vn4sj5kbxdaG,
死活不生效,
觉得按说默认配置文件就是 redis.windows.conf
,但运行 redis-server.exe 启动 server 就是提示
……
[2092] 18 Feb 12:16:38.598 # Warning: no config file specified, using the default config. In order to specify a config file use .\redis-server.exe /path/to/redis.conf
……
然后运行
F:\下载目录\Redis-x64-5.0.14.1>.\redis-server.exe redis.windows.conf
[35088] 18 Feb 12:24:25.645 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
[35088] 18 Feb 12:24:25.646 # Redis version=5.0.14.1, bits=64, commit=ec77f72d, modified=0, pid=35088, just started
[35088] 18 Feb 12:24:25.646 # Configuration loaded
……
就好了