공부
[Redis] redis-cli -h 127.0.0.1 -p 6379 FLUSHALL
승가비
2022. 5. 23. 01:23
728x90
redis-cli -h 127.0.0.1 -p 6379 FLUSHALL
https://www.shellhacks.com/redis-delete-all-keys-redis-cli/
Redis: Delete All Keys - Redis-CLI - ShellHacks
How to flush cache/database in Rredis and delete all keys from all databases or from the particular database only from the Redis command line (redis-cli).
www.shellhacks.com
[Redis] redis-cli로 ip, port, password 입력하여 접속하기
redis-cli -h : host ip address -p : port number -a : password redis-cli -h 127.0.0.1 -p 6379 -a mysupersecretpassword 참고로 비밀번호에 $가 있으면 에러가 발생하므로 사용하지 않는다.
www.enqdeq.net
728x90