From 9ee9bd20cdceb00d02ab21d7a9c49409a94b34f4 Mon Sep 17 00:00:00 2001 From: Ben Yanke Date: Mon, 5 Mar 2018 09:01:46 -0600 Subject: [PATCH] Updating port env var to allow a nonstandard DB port --- config/database.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/database.php b/config/database.php index 6864538968..da9fc36867 100644 --- a/config/database.php +++ b/config/database.php @@ -53,6 +53,7 @@ return [ 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), + 'port' => env('DB_PORT', '3306'), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', @@ -67,6 +68,7 @@ return [ 'database' => env('DB_DATABASE0', env('DB_DATABASE', 'forge')), 'username' => env('DB_USERNAME0', env('DB_USERNAME', 'forge')), 'password' => env('DB_PASSWORD0', env('DB_PASSWORD', '')), + 'port' => env('DB_PORT0', env('DB_PORT', '3306')), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', @@ -80,6 +82,7 @@ return [ 'database' => env('DB_DATABASE1', env('DB_DATABASE', 'forge')), 'username' => env('DB_USERNAME1', env('DB_USERNAME', 'forge')), 'password' => env('DB_PASSWORD1', env('DB_PASSWORD', '')), + 'port' => env('DB_PORT1', env('DB_PORT', '3306')), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', @@ -93,6 +96,7 @@ return [ 'database' => env('DB_DATABASE2', env('DB_DATABASE', 'forge')), 'username' => env('DB_USERNAME2', env('DB_USERNAME', 'forge')), 'password' => env('DB_PASSWORD2', env('DB_PASSWORD', '')), + 'port' => env('DB_PORT2', env('DB_PORT', '3306')), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '',