From a812983d0b2be5d06e7cb534135e922a478fe5e0 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Wed, 9 Nov 2016 16:03:37 -0800 Subject: [PATCH] Adds socket to config/database.php for consistency For the mysql driver only (as this only applies to mysql) add the "socket" configuration parameter and corresponding environment variable. --- config/database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/database.php b/config/database.php index df36b2dd683..a196943f558 100644 --- a/config/database.php +++ b/config/database.php @@ -46,6 +46,7 @@ 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '',