[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pb avec postgresql



Nicolas Lamirault a écrit :
> 
> < lam : nlamirault > whoami
> nlamirault
> < lam : nlamirault > createdb exemple
> psql: Peer authentication failed for user 'nlamirault'
> createdb: database creation failed
> 
> et enfin :
> 
> $> ps aux | grep postmaster
> postgres   294  0.0  0.6  8160 1584 ?        S    16:41   0:00 /usr/lib/postgresql/bin/postmaster -D /var/lib/postgres/data
> nlamira   1526  0.0  0.1  1368  492 pts/1    S    17:40   0:00 grep postmaster
> 
> donc je comprends pas trop la
> une idee ?

Qu'as-tu mis dans /etc/postgresql/pg_hba.conf ?
(je suis en 7.0.3 ici chez moi, mais je ne m'autorise pas à créer des
bases : c'est réservé au grand chef : postgres ;-)

C'est tout ce que j'ai comme idée de trucs à fouiller...

-- 
Christophe «CHiPs» PETIT <chips@chips.fr.eu.org> http://chips.free.fr/
Linux-Nantes: partagez votre savoir http://www.linux-nantes.fr.eu.org/
Debian: When Code Matters More Than Commercials http://www.debian.org/  
[May all your PUSHes be POPped.]



Reply to: