Re: Remote login to the database

Поиск
Список
Период
Сортировка
От Jared Sulem
Тема Re: Remote login to the database
Дата
Msg-id 3AE72955.3070402@sulem.freeserve.co.uk
обсуждение исходный текст
Ответ на Remote login to the database  ("vijayendra mohan agrawal" <vijayendra.agrawal@wipro.com>)
Список pgsql-admin
vijayendra mohan agrawal wrote:

 > how do I connect to the database.

psql -h host [-p port] [-U username] database_name

OR

psql -h host [-p port] database_name username

psql --help for details of all the options.

One thing to remember - if you try to login from the database machine
and if you have restricted access to the database from localhost
(127.0.0.1) but not from the database machines network IP address, then
you must specify the host option with the local machines network IP address.

Jared


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Can't drop table (repost)
Следующее
От: "benoit.le-dizes@voila.fr"
Дата:
Сообщение: Problem with postgres