ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] не могу подключиться к PostgreSQL серверу
@ 2004-06-23 14:33 Ivanov Maxim
  2004-06-23 14:59 ` Alex Gorbachenko
  0 siblings, 1 reply; 2+ messages in thread
From: Ivanov Maxim @ 2004-06-23 14:33 UTC (permalink / raw)
  To: community

Здравствуйте, community.

Скажите пожалуйста, как подключаться извне?
Не проходит аутентификация.

в postgresql.conf указано, что tcpip_socet = true
в pg_hba.conf     указано, что
host all all 192.168.0.0 255.255.255.0 trust

Не проходит. Как создать пользователя/пароль чтобы с этим аккаунтом
подключиться к базе?


-- 
С уважением,
 Ivanov                         



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] не могу подключиться к PostgreSQL серверу
  2004-06-23 14:33 [Comm] не могу подключиться к PostgreSQL серверу Ivanov Maxim
@ 2004-06-23 14:59 ` Alex Gorbachenko
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Gorbachenko @ 2004-06-23 14:59 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

On Wed, 23 Jun 2004 18:33:03 +0400
Ivanov Maxim <ivanov@amos.ru> wrote:

> в pg_hba.conf     указано, что
> host all all 192.168.0.0 255.255.255.0 trust
psql -h <hostname> <dbname> <username>
например:
psql -h myhost.mydomain template1 postgres
если для пользователя в базе заведён пароль, то метод должен быть не trust, а md5, например.

--- Sylpheed 0.9.10
* Origin: Низведение плюшками.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-23 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-23 14:33 [Comm] не могу подключиться к PostgreSQL серверу Ivanov Maxim
2004-06-23 14:59 ` Alex Gorbachenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git