Larvavel redis configuration issu

  1. .env file

clipboard.png

  1. database.php

clipboard.png

3.127.0.0.1redis10.10.10.6710.10.10.67redis,567redisredis desktop manager
5.
clipboard.png

6.
clipboard.png
even if it is written like this, it will not connect to
5. I think this is a hole dug by env, asking all the great gods to solve their doubts

.

I found the answer myself, and I can use it normally. Configure
'search' = > [

] in databse.php.
        'host' => '10.10.10.67',
        'port' => 6379,
        'database' => 0,
        'parameters'=>[
            'password'=>env('REDIS_PASSWORD', '')
        ]
    ]
Menu