From 8086d296e54572e009855739a8d8f19289e21486 Mon Sep 17 00:00:00 2001 From: Daniel Jakots Date: Mon, 3 Jul 2017 15:27:21 -0400 Subject: [PATCH] =?UTF-8?q?separation=20du=20bloc=20pour=20plus=20de=20cla?= =?UTF-8?q?ret=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoRedis.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/HowtoRedis.md b/HowtoRedis.md index 1d5867e9..3e8dca70 100644 --- a/HowtoRedis.md +++ b/HowtoRedis.md @@ -66,7 +66,6 @@ redis> CONFIG get * En mode CLI : ~~~ -$ redis-cli -s /var/run/redis/redis.sock $ redis-cli redis 127.0.0.1:6379> redis> set foo 3 @@ -94,6 +93,12 @@ redis> del "trois" "quatre" (integer) 2 ~~~ +On peut se connecter avec la socket si elle existe : + +~~~ +$ redis-cli -s /path/to/redis.sock +~~~ + Mais aussi en réseau (sans authentification, attention) : ~~~