Authentification failed
Authentification failed
От:
Judith <jaltamirano@correolux.com.mx>
Дата:
Hello everybody!!
I'm trying in SUSE to connect to a postgres db and this is the error:
Ident Authentification failed for user <>
I'm already created the user with createuser root, but the error
persist, I would aprecciate some help, thanks in advanced
Re: Authentification failed
От:
chester c young <chestercyoung@yahoo.com>
Дата:
> I'm trying in SUSE to connect to a postgres db and this is the
> error:
>
> Ident Authentification failed for user <>
>
others will guide better, but for now, in pg_hba.conf
# "local" is for Unix domain socket connections only
local all all ident sameuser
also, as postgres user, createuser
this will let you into pg as yourself
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
Re: Authentification failed
От:
"Scott Marlowe" <scott.marlowe@gmail.com>
Дата:
On 8/1/07, Judith wrote: > Hello everybody!! > > I'm trying in SUSE to connect to a postgres db and this is the error: > > Ident Authentification failed for user <> > > I'm already created the user with createuser root, but the error > persist, I would aprecciate some help, thanks in advanced you need to change auth methods in your pg_hba.conf file: http://www.postgresql.org/docs/8.2/static/auth-pg-hba-conf.html basically identd means that you are who you are on the unix box. no -U flag, you can't log in as someone else. note that a "root" user is a bit of a mysqlism. The postgres user is the equivalent in postgresql. might you sudo su - postgres and try to connect?
Re: Authentification failed
От:
Kenneth Gonsalves <lawgon@thenilgiris.com>
Дата:
On 02-Aug-07, at 2:49 AM, Judith wrote: > I'm trying in SUSE to connect to a postgres db and this is the error: > > Ident Authentification failed for user <> > > I'm already created the user with createuser root, but the error > persist, I would aprecciate some help, thanks in advanced edit your pg_hba.conf file to allow tcp/ip access from localhost. And please dont try to access postgres as 'root' -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/
Re: Authentification failed
От:
Bryce Nesbitt <bryce1@obviously.com>
Дата:
Judith wrote: > Hello everybody!! > > I'm trying in SUSE to connect to a postgres db and this is the error: > > Ident Authentification failed for user <> > > I'm already created the user with createuser root, but the error > persist, I would aprecciate some help, thanks in advanced ...or just cheat and get in as the postgres root user: psql -U postgres Which on SUSE has no password. -- ---- Visit http://www.obviously.com/
Re: Authentification failed
От:
Terry Fielder <terry@ashtonwoodshomes.com>
Дата:
Connecting as root may be ill advised (doing stuff as root is a bad idea unless one HAS to).
All that notwithstanding, you need to setup the correct permissions to allow the connections you want in pg_hba.conf, usually is /var/lib/pgsql/data/pg_hba.conf
Terry
Terry Fielder terry@greatgulfhomes.com Associate Director Software Development and Deployment Great Gulf Homes / Ashton Woods Homes Fax: (416) 441-9085
Bryce Nesbitt wrote:Judith wrote:Hello everybody!! I'm trying in SUSE to connect to a postgres db and this is the error: Ident Authentification failed for user <<root>> I'm already created the user with createuser root, but the error persist, I would aprecciate some help, thanks in advanced...or just cheat and get in as the postgres root user: psql -U postgres Which on SUSE has no password.