From: Srinivasa R Chava <s.chava@wcom.com>
To: pgsql-admin@postgresql.org
Subject: how to connect remote database
Date: Mon, 16 Jul 2001 14:03:05 -0500
Message-ID: <3B533A69.812F20F7@wcom.com> (raw)
Hai,
How to connect the database from remote client ,using psql
In oracle we use the command like the following one at sqlplus
prompt.
Sqlplus> username/password@hostname
How to do it in postgresql
I tried like this
psql dabasename username@hostname
It is not working.
Can anybody has an idea?
Thanks
chava
--
Srinivasa R Chava (Chava) <s.chava@wcom.com>
Application Developer
Corporate Intra/Internet Systems
WORLDCOM - http://www.worldcom.com/ - NASDAQ:WCOM
500 Clinton Center Drive (Corporate Headquarters)
Clinton, Mississippi (MS) USA 39056
(601)460-3122 / vnet4603122 / (800)844-1009 / FAX(601)460-8257
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-admin@postgresql.org
Cc: s.chava@wcom.com
Subject: Re: how to connect remote database
In-Reply-To: <3B533A69.812F20F7@wcom.com>
References: <3B533A69.812F20F7@wcom.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