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' => '',