Re: Remote connection via psql

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Remote connection via psql
Дата
Msg-id Pine.LNX.4.33.0209040908220.12216-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: Remote connection via psql  (Francois Suter <dba@paragraf.ch>)
Список pgsql-general
On Wed, 4 Sep 2002, Francois Suter wrote:

> > Francois Suter <dba@paragraf.ch> writes:
> >> psql -d dbname -U username -h 192.168.1.2
> >> I get the following message: "psql: unknown host name: 192.168.1.2"
> >
> > Works fine here.  What PG version is this, what platform, etc?
>
> PG version is 7.2.1, platform is Mac OS X 10.1.5, network uses a router that
> serves as a DHCP server, but the dev server mentioned here as a fixed IP
> (i.e. 192.168.1.2).

Try putting an entry in your /etc/hosts (does OS X have one of those?  It
is BSD, but who knows what might be different) for the server and give it
a name and see if you can get a connect then.


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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Archives DB is down?
Следующее
От: Patrick Bakker
Дата:
Сообщение: split(...) style functions