Re: help Request

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Thomas Mammen <kthomas(at)convergsoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: help Request
Date: 2003-04-11 14:54:10
Message-ID: 3E96D712.201DD904@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Thomas Mammen wrote:
>
> scenario:
> 1. i have postgresql running on linux machine and apache on windows.
>
> 2. i am saving all my php files in windows system.
>
> now i am trying
> $con_string = "dbname=spamtrack port=5432 user=postgres
> password=postgres host=192.168.1.145";
> $connection = pg_connect($con_string);
>
> this is giving an error can you please guide me to get the solution

The solution is simple, do everything right and it will work.

Okay, I take my first guess (assuming I have 3 guesses before I'm out):
The error message says something like "connection refused"?

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-04-11 15:19:55 Re: conditional constraints
Previous Message Bruno Wolff III 2003-04-11 14:33:53 Re: count syntax