Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PostgreSQL Install - How do I get in?
Message
De
01/11/2001 14:27:58
 
 
À
01/11/2001 14:04:43
Information générale
Forum:
Linux
Catégorie:
Problèmes base de données et Admin
Divers
Thread ID:
00576330
Message ID:
00576339
Vues:
17
Okay, so now I get it! :)

If anyone ever gets in that situation (guess it doesn't happen since there doesn't seem to be any mention of it in the FAQ):

Once you called initdb (as the postgres user), call createuser. Once the database has been created, only postgres (or the user you called initdb with) can get in.

I had read that initdb has to be called as postgres since it has to own the files, but I got back to root to do the rest. Silly me.


>Okay, I don't get it.
>
>I installed PostgreSQL, called initdb and set it up to be started at boot time.
>
>Now, I want to create a database and create the users. But when I type:
>
>
psql template1
>
>as root, I get:
>
>psql: FATAL 1: SetUserId: user 'root' is not in 'pg_shadow'
Sylvain Demers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform