Re: Please help, pgAdmin3 on Debian!

Поиск
Список
Период
Сортировка
От Martin Pitt
Тема Re: Please help, pgAdmin3 on Debian!
Дата
Msg-id 20060328115337.GF6223@piware.de
обсуждение исходный текст
Ответ на Please help, pgAdmin3 on Debian!  (lmyho <lm_yho@yahoo.com>)
Список pgsql-hackers
Hi lmyho,

lmyho [2006-03-28  0:17 -0800]:
>   I am totally new to the PostgreSQL, and pgAdmin.  I really need
>   your help.
>
>  I just installed the PostgreSQL8.1 and pgAdmin3 on a Debian system,
>  using the apt-get install command.  Apparently, the initial
>  database and the user "postgres" have also been automatically
>  created during the installation.

Please feel free to mail me directly
(postgresql-8.1@packages.debian.org) for questions related to the
Debian packages. It might be regarded as noise on the upstream lists.

>  Which is good.  But I've got big trouble to login to this initial
>  db by using this auto-created username "postgres" through
>  pgAdmin:(((  The first try failed due to "Ident authentication
>  failed"

The 'postgres' user in Debian is a system user with a locked password,
since it is not recommended to use it for normal work with the
database. As /usr/share/postgresql-common/README.Debian describes, you
should first create your own database user and work with that. Then
the default 'ident' authentication scheme will work, and you are free
to set a password for your db user as well (so that connecting from
remote computer over TCP works as well).

If you really need to connect as user postgres to do administrative
tasks, then the easiest solution is to set a password for the user
postgres, as already mentioned in the previous reply.

HTH,

Martin

--
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Shared memory
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Why are default encoding conversions