Re: how to connect remote database

Поиск
Список
Период
Сортировка
От Thalis A. Kalfigopoulos
Тема Re: how to connect remote database
Дата
Msg-id Pine.LNX.4.21.0107161700370.9097-100000@aluminum.cs.pitt.edu
обсуждение исходный текст
Ответ на how to connect remote database  (Srinivasa R Chava <s.chava@wcom.com>)
Список 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@hostname
>
> How to do it in postgresql
> I tried like this
> psql dabasename username@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
havebeen started with -i) 

cheers,
thalis

>
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>


В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Error Installing
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: how to connect remote database