Re: how to connect remote database

From: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>
To: Srinivasa R Chava <s(dot)chava(at)wcom(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to connect remote database
Date: 2001-07-16 21:01:38
Message-ID: Pine.LNX.4.21.0107161700370.9097-100000@aluminum.cs.pitt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 16 Jul 2001, Srinivasa R Chava wrote:

> 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(at)hostname
>
> How to do it in postgresql
> I tried like this
> psql dabasename username(at)hostname
>
> It is not working.

Do psql --help for the options. There's a -h option. The server must be accepting network coonnections (postmaster must have been started with -i)

cheers,
thalis

>
> Can anybody has an idea?
> Thanks
> chava
> --
>
> Srinivasa R Chava (Chava) <s(dot)chava(at)wcom(dot)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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2001-07-16 21:44:52 Re: how to connect remote database
Previous Message Peter Eisentraut 2001-07-16 20:47:37 Re: AW: psql and lo_import