Re: Installing PostgreSQL under Cpanel

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Installing PostgreSQL under Cpanel
Дата
Msg-id b42b73150701230735o3e079270v744e4bad0619ec84@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Installing PostgreSQL under Cpanel  ("Erick Papadakis" <erick.papa@gmail.com>)
Ответы Re: Installing PostgreSQL under Cpanel  ("Erick Papadakis" <erick.papa@gmail.com>)
Список pgsql-general
On 1/23/07, Erick Papadakis <erick.papa@gmail.com> wrote:
> Doesn't work:
>
> - psql -U postgres
>   > psql: FATAL:  Ident authentication failed for user "postgres"
>
> - psql -U postgres -W
>   > psql: FATAL:  Ident authentication failed for user "postgres"

that is saying you need to have the password to login to the database.
 edit pg_hba.conf and change where it says 'ident' on the 127.0.0.1
line to 'trust'. (wihtout quotes).

> Would appreciate some insights. Where's the step by step guide to make
> this work? Cpanel/WHM and Plesk are THE most widespread control
> panels, and I see zilch on postgresql.org that addresses them.

> Maybe this is why MySQL is popular. The thing just works! (Which is
> all one needs in 99% of simple webbie cases).

no, you just don't know what you are doing. installing mysql and
postgresql from source require approximately the same number of steps
(actually, pg is IMO easier).  Binary installations are going to
require different steps depending on the packaging. haven't checked,
but if IIRC redhat provided sys v init scripts can do most of the hard
work for you:

service postgresql start

it will bootstrap (initdb) the database cluster, etc. with suitable defaults.

merlin

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

Предыдущее
От: "Harald Armin Massa"
Дата:
Сообщение: Re: Installing PostgreSQL under Cpanel
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Postgresql.conf