We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e712594 commit 9de2e8cCopy full SHA for 9de2e8c
components/cache/cache_pools.rst
@@ -129,6 +129,15 @@ helper allows creating a connection to a Redis server using a DSN configuration:
129
130
See the method's docblock for more options.
131
132
+.. caution::
133
+
134
+ Redis connections don't support login + password credentials, but just a
135
+ password. This can produce undesired effects when the password contains a
136
+ ``:`` character (e.g. ``foo:bar`` password would be wrongly parsed as ``foo``
137
+ login + ``bar`` password). The solution is to add a fake login to the
138
+ connection DSN. Instead of ``'redis://foo:bar@localhost'``, use
139
+ ``'redis://__ignore_this__:foo:bar@localhost'``
140
141
PDO & Doctrine DBAL Cache Adapter
142
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143
0 commit comments