From 8b99ee95f94ce994cab9536e7607ded845fa5192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E8=A1=8C=E5=AF=BA=E5=B9=BD=E5=B9=BD=E5=AD=90?= Date: Sun, 19 Apr 2020 17:38:20 +0800 Subject: [PATCH] Fix "failed: ERR invalid DB index" --- config/cache.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/cache.php b/config/cache.php index fe8bbc8dd..c76984f31 100644 --- a/config/cache.php +++ b/config/cache.php @@ -80,6 +80,9 @@ return [ 'redis' => [ 'driver' => 'redis', 'connection' => 'default', + 'password' => env('REDIS_PASSWORD', null), + 'port' => env('REDIS_PORT', 6379), + 'database' => env('REDIS_DB', 0), ], ],