Re: problem accessing a database

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: problem accessing a database
Дата
Msg-id 20061103144405.GA28470@a-kretschmer.de
обсуждение исходный текст
Ответ на problem accessing a database  (Luca Ferrari <fluca1978@infinito.it>)
Ответы Re: problem accessing a database  (Luca Ferrari <fluca1978@infinito.it>)
Список pgsql-general
am  Fri, dem 03.11.2006, um 15:36:04 +0100 mailte Luca Ferrari folgendes:
> Hi all,
> I've got a database on a server that can be accessed thru the user wwwrun with
> no password. Now I'd like to copy it on my laptop, so I created the wwwrun
> (with no password) and thru pg_dump and pg_restore I copied the database on
> the laptop. The problem is that on the latter I'm unable to log as wwwrun, I
> got:
> [luca@fluca:~]$ psql -U wwwrun
> psql: FATAL:  Ident authentication failed for user "wwwrun"
>
> What should I change on my laptop to get the database working?

The settings in your pg_hba.conf.
This file contains comments, read this to understand the proper content.
I guess, you want change the method to trust.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Counting records in a PL/pgsql cursor
Следующее
От: Tom Lane
Дата:
Сообщение: Re: start up and shut down script