Re: help Request - Mailing list pgsql-general

From Jan Wieck
Subject Re: help Request
Date
Msg-id 3E96D712.201DD904@Yahoo.com
Whole thread Raw
In response to help Request  ("Thomas Mammen" <kthomas@convergsoft.com>)
List 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@Yahoo.com #


pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: count syntax
Next
From: Dennis Gearon
Date:
Subject: Re: conditional constraints