From: Penchalaiah P. <penchalaiahp@infics.com>
To: pgsql-sql@postgresql.org
Subject: Re: hi i need to connect database from my system to another
Date: Mon, 3 Jul 2006 18:16:07 +0530
Message-ID: <A70AE049E81A6A40879D5DC0AC8C38C9069508ED@venus.infics.com> (raw)
Hi
I am using windows xp operating system...
I want to know how to connect remote postgresql from my system.. I need
brief description from beginning..
Now I am using pg_HBF conf file to connect remote postgresql in that I
am giving host name , ip-address,mask and trust... but it is showing
error like
Could not connect to server: connection refused(0x0000274d\10061)
Is the server running on host 127.0.0.1 and accepting TCP\IP connection
on port 5432 ?
Regards
penchal
-----Original Message-----
From: Richard Broersma Jr [mailto:rabroersma@yahoo.com]
Sent: Monday, July 03, 2006 5:57 PM
To: Penchalaiah P.
Cc: General Postgresql List
Subject: RE: [SQL] hi i need to connect database from my system to
another system
> If u don't mind can u please tell me clearly.. where I have start -I
or
> how to start postgresql with -I
> > I am using postgresql database server... in my system.. if I want to
> > connect to this database server from other system..Or how can I use
> this
> > database server in other machine ..
> >
> > How can I do this..if any one have idea about this please give me
> brief
> > description
>
> You need to start the postgresql server with the "-i" option to allow
> TCP/IP connections. Then
> you need to configure your pg_hba.conf file to set the permissions
about
> which users can connect
> to which databases.
>
> Notice the pg_ctl section for starting postgresql.
> http://www.postgresql.org/docs/8.1/interactive/app-pg-ctl.html
>
> Notice the -o "options" section that can be set. (in this case you
want
> -i)
> http://www.postgresql.org/docs/8.1/interactive/app-postmaster.html
>
> Finally notice, the section on the pg_hba.conf file.
>
http://www.postgresql.org/docs/8.1/interactive/client-authentication.htm> l#AUTH-PG-HBA-CONF
>
> Also, secure shell also works well when connecting from another
system.
Don't forget to include the pgsql-sql list in your reply's. :-) The
individuals on this list have
varying degree of experience and knowledge of postgresql. So if you
only respond to me, you would
be limiting yourself to my meager experience and knowledge. ;-)
To start off with, it would be helpful to know which OS version of
PostgreSQL you are using. The
windows versions is pre-configured to start with the "-i" option for
allowing TCP/IP connections.
Secondly, how are you trying to connect to your postgresql server from
another system? What
error messages are you getting.
Regards,
Richard Broersma Jr.
Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this email from your records.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: penchalaiahp@infics.com
Subject: Re: hi i need to connect database from my system to another
In-Reply-To: <A70AE049E81A6A40879D5DC0AC8C38C9069508ED@venus.infics.com>
References: <A70AE049E81A6A40879D5DC0AC8C38C9069508ED@venus.infics.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox