Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)

Поиск
Список
Период
Сортировка
От Jean-Michel POURE
Тема Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Дата
Msg-id 200212201527.31068.jm.poure@freesurf.fr
обсуждение исходный текст
Ответ на Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)  (lutscher2002@t-online.de (Bernd Wollny))
Список pgadmin-support
Le Vendredi 20 Décembre 2002 15:07, vous avez écrit :
> Where's the fault?
> I started Postgres with the -i option for tcp/ip sockets!
> Hope for answers!

1) Try modifying /var/lib/pgsql/data/postgresql.conf and set TCP_IP socket to
true. This will start PostgreSQL with -i option automatically.

2) Modify /var/lib/pgsql/data/pg_hba.conf and set the following line
# TYPE     DATABASE    IP_ADDRESS    MASK               AUTH_TYPE
AUTH_ARGUMENT
local      all                                          trust
host       all         127.0.0.1     255.255.255.255    trust
host       all         client_ip      255.255.255.0    trust

repace client_ip with your client IP. This will accept all connections from
your client_ip.

3) Type "/etc/init.d/postgresql restart"

You should be able to connect using psql under Linux and pgAdmin under
Windows. Does it make it?

/Jean-Michel


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

Предыдущее
От: lutscher2002@t-online.de (Bernd Wollny)
Дата:
Сообщение: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)