Re: [GENERAL] connection fails

2001-09-21 Thread Nick Fankhauser
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\"); &

[GENERAL] connection fails

2001-09-21 Thread paula
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