密码设置方式一 命令行设置密码
运行cmd切换到redis根目录,启动服务端redis-server.exe
运行另一个cmd切换到redis根目录,启动客户端redis-cli.exe -h 127.0.0.1 -p 6379
客户端使用
2026-03-03