티스토리 뷰

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

https://www.enqdeq.net/216

 

[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

'공부' 카테고리의 다른 글

[Kotlin] destructure array  (0) 2022.06.06
[spring] @Cachable  (0) 2022.06.06
[Javascript] Async & Await  (0) 2022.05.23
[k8s] `Kubernetes` name?  (0) 2022.05.23
[Airflow] airflow backfill -m -s <START_DATE> -e <END_DATE> <DAG_NAME>  (0) 2022.05.23
댓글