FATAL Authentication

Поиск
Список
Период
Сортировка
От Marc Fromm
Тема FATAL Authentication
Дата
Msg-id B0D7C0A3F35FE144A70312D086CBCA9B0509A42F@ExchMailbox2.univ.dir.wwu.edu
обсуждение исходный текст
Ответы Re: FATAL Authentication
Список pgsql-admin
I am trying to run commands from the shell (without becoming the postgres user first), which work fine on our live
server,but on our dev server I receive FATAL authentication errors. 

[root@dev tmp]$ createdb -U postgres lan_portal
createdb: could not connect to database postgres: FATAL:  Ident authentication failed for user "postgres"

[root@dev tmp]$ psql -U postgres lan_portal < /tmp/lan_portal.bck
psql: FATAL:  Ident authentication failed for user "postgres"

What needs to be configured so I can run the above commands in the shell?

I was able to create the database once I "su" to postgres, using CREATE DATABASE, but I do not know how to restore a
databaseas I do in the shell as listed above. 

Thanks

Marc


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch2 dictionary for statute cites
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FATAL Authentication