-
I was wondering, can laravel specify Redis user that want authenticated from |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Hello, I'm waiting this feature too but FYI there is a workaround, in your database.php file you can set this : |
Beta Was this translation helpful? Give feedback.
-
@xelab I'm already tried that, but still the user that used for authenticated still not changed. My first schema create new user with name Because the first schema was failed, for now i'm just create username |
Beta Was this translation helpful? Give feedback.
-
You can use Following example works for me using AWS MemoryDB for redis.
|
Beta Was this translation helpful? Give feedback.
-
IDK what version of laravel this issue has been started but why don't you thought about to pass "name:pass" in password field? AUTH command is supported by both space and ":". So... Or maybe it is a feature published between this issue started and i came here? |
Beta Was this translation helpful? Give feedback.
Hello, I'm waiting this feature too but FYI there is a workaround, in your database.php file you can set this :
'redis' => [ 'default' => [ ..., 'password' => ['user' => 'user', 'pass' => 'pass'], ... ], ]