er 21, 2001 2:25 PM
> To: [EMAIL PROTECTED]
> Subject: [GENERAL] connection fails
>
>
> Hello,
>
> I\'m trying to connect using an extremely simple php script:
>
> $conn = pg_Connect(\"host=localhost dbname=db name user=postgres
> password=postgres\");
&
Hello,
I\'m trying to connect using an extremely simple php script:
$conn = pg_Connect(\"host=localhost dbname=db name user=postgres password=postgres\");
if ($conn) { echo \"ok\"; }
else { echo \"failed\"; }
I get this error message:
Warning: Unable to connect to PostgreSQL server: connectDB