From 6a12b176e7621533913ab43971d3a0e0f9349636 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 Mar 2021 09:04:14 +0000 Subject: [PATCH] Allow for configuring the MySQL port number Fixes #9 --- templates/settings.php.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/settings.php.j2 b/templates/settings.php.j2 index 22c4344..bd7ad99 100644 --- a/templates/settings.php.j2 +++ b/templates/settings.php.j2 @@ -7,6 +7,7 @@ $databases['{{ key }}']['{{ target }}'] = array( 'driver' => '{{ values.driver|default('mysql') }}', 'host' => '{{ values.host|default('localhost') }}', + 'port' => '{{ values.port|default('3306') }}', 'database' => '{{ values.database }}', 'username' => '{{ values.username }}', 'password' => '{{ values.password }}',