连接 Redis 后直接执行命令

来自姬鸿昌的知识库
跳到导航 跳到搜索
F:\下载目录\Redis-x64-5.0.14.1>.\redis-cli.exe -h 127.0.0.1 -p 6381 -a vn4sj5kbxdaG flushdb
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
OK

F:\下载目录\Redis-x64-5.0.14.1>