From: Devi Munandar <devi@informatika.lipi.go.id>
To: pgsql-admin@postgresql.org
Subject: pg_dump restore problem
Date: Sun, 30 Mar 2003 17:28:28 +0700
Message-ID: <025501c2f6a7$1ab78000$a6f0cda7@informatika.lipi.go.id> (raw)
Hi admin
i have problem with user authentification
I've made a dump from PostgreSQL 7.2.2 under linux 8.0 with the command:
pg_dump -a -b -Fc -f bakstore -o -v store
and running success, and then i try to restore with the command:
pg_restore -a -d store -Fc -o -v bakstrore
and running unsuccess because i've got message:
pg_restore:[archiver (db)] could not reconnect to database : FATAL 1 : IDENT
authentification failed for user "phpuser"
my post pg_hba.conf
*****************
TYPE DATABASE IP_ADDRESS MASK
AUTH_TYPE AUTH_ARGUMENT
host all 127.0.0.1
255.255.255.255 trust
host store 167.205.240.166 255.255.255.0
trust
host all 127.0.0.1
255.255.255.255 ident phpuser
my post pg_ident.conf
******************
MAP IDENT PGUSERNAME
phpuser phpuser postgres
NB: i make 'store' database pass through phpPgAdmin2.4.2 with
username:"phpuser" and password:""
Best Regards,
--devi munandar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: devi@informatika.lipi.go.id
Subject: Re: pg_dump restore problem
In-Reply-To: <025501c2f6a7$1ab78000$a6f0cda7@informatika.lipi.go.id>
References: <025501c2f6a7$1ab78000$a6f0cda7@informatika.lipi.go.id>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox