summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-xredis/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index 2e33e31..fecb06b 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -1221,7 +1221,7 @@ class ConnectionPool:
redis://[[username]:[password]]@localhost:6379/0
rediss://[[username]:[password]]@localhost:6379/0
- unix://[[username]:[password]]@/path/to/socket.sock?db=0
+ unix://[username@]/path/to/socket.sock?db=0[&password=password]
Three URL schemes are supported: