From 73dbbcea315fc4c2c8876490174970325c331ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9fano=20Araujo?= Date: Mon, 22 Jul 2024 18:41:21 -0300 Subject: [PATCH] Update makedb.php FIX: PostgreSQL Connection Error --- makedb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makedb.php b/makedb.php index f6db25e..a3aeb17 100644 --- a/makedb.php +++ b/makedb.php @@ -60,7 +60,7 @@ elseif ($dbType === 'pgsql') $maxTries = 10; do { - $connection = "host={$host} port={$port} user={$user} password={$password}"; + $connection = "host={$host} port={$port} user={$user} password={$password} dbname={$db}"; $dbconn = @pg_connect($connection); if (!$dbconn)