From: Ivanov Maxim <ivanov@amos.ru>
To: Alex Gorbachenko <community@altlinux.ru>
Subject: Re[9]: [Comm] PostgreSQL + ipac + iptables = rtouble
Date: Wed, 23 Jun 2004 18:54:22 +0400
Message-ID: <15817480937.20040623185422@amos.ru> (raw)
In-Reply-To: <20040623181250.4d9c4cc6.agent_007@immo.ru>
Здравствуйте, Alex.
Вы писали 23 июня 2004 г., 18:12:50:
AG> On Wed, 23 Jun 2004 17:22:53 +0400
AG> Ivanov Maxim <ivanov@amos.ru> wrote:
>> Уважаемый!
>> в том-то и дело, что ЭТО не работает. Пишет что не валидный юзер. И
>> это ТОЖЕ в доке имеется.
>> Прежде чем советовать, попробуйте сами, а доки я и сам почитываю
>> иногда.
>> http://www.postgresql.org/docs/7.3/static/index.html
AG> по шагам.
AG> 1. юзер postgres присутствует _в базе_ всегда. его создавать
AG> не надо. никаких su - postgres тоже не надо, где вас этому учат ?
AG> системные пользователи, и пользователи в postgre, это несколько не
AG> одно и то же.
AG> 2. psql template1 postgres -c "create database ipac"
AG> 3. psql ipac postgres -c "create user root"
AG> 4. psql ipac postgres -c "create user apache"
AG> 5. и вуаля. читать документацию по постгресу всё же надо вдумчиво.
Каюсь.... Действительно так...
Вы правы. Скажите, а как подключиться к базе извне?
Я поставил тут phpPgAdmin, хотел подключиться, посмотреть на базу, но
фиг. Поставил EMS PostgreSQL Manager (под винду) - та же ботва.
в postgresql.conf указано, что tcpip_socet = true
в pg_hba.conf указано, что
host all all 192.168.0.0 255.255.255.0 trust
Вместо trust пробовал ставить другие значения, но что-то не догоняю,
как? По логике, надо бы у PAM спросить, кто коннектится, но что-то не
срастается... Помогите, а?
--
С уважением,
Ivanov
next prev parent reply other threads:[~2004-06-23 14:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-21 7:26 Ivanov Maxim
2004-06-21 14:16 ` Maxim
2004-06-21 14:52 ` Re[2]: " Ivanov Maxim
2004-06-21 15:57 ` Re[3]: " Maxim
2004-06-22 12:11 ` Re[4]: " Ivanov Maxim
2004-06-22 12:29 ` Genix
2004-06-22 13:34 ` Re[6]: " Ivanov Maxim
2004-06-22 14:09 ` Dmitriy Gnidchenko
2004-06-23 13:22 ` Re[7]: " Ivanov Maxim
2004-06-23 14:12 ` Alex Gorbachenko
2004-06-23 14:54 ` Ivanov Maxim [this message]
2004-06-23 15:02 ` Re[9]: " Alex Gorbachenko
2004-06-23 17:39 ` Re[7]: " Dmitriy Gnidchenko
2004-06-22 15:38 ` Maxim
2004-06-21 20:39 ` Alexander Leschinsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15817480937.20040623185422@amos.ru \
--to=ivanov@amos.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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