dbTalk Databases Forums  

Création de BD

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Création de BD in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jedi
 
Posts: n/a

Default Création de BD - 04-16-2004 , 08:47 AM






Salut,

Je débute avec Linux et ce genre d'outil...

J'ai installé postgresql aujourd'hui. En fait quand j'exécute
/usr/local/pgsql/ > createdb test
je reçois le message suivant createdb: Permission non accordée

Mon utilisateur postgres est propriétaire du dossier pgsql et de ses
descendants.Les droits sont tous donnés...

Merci d'avance

Jedi

Reply With Quote
  #2  
Old   
JP Beaudry
 
Posts: n/a

Default RE: [NOVICE] Création de BD - 04-21-2004 , 10:16 AM






I'm also a novice with Postgres, so take the following pointers with a grain
of salt.

First, take a look at the man page for createdb. Try this command at the
Linux prompt: man createdb. This will tell you where the database will
actually be created.

Second, I think your problem may have to do with the createdb file not being
executable by the user. If that is the case, you may have to change the
rights of the file with "chmod". This link provides a good explanation on
file permissions:
http://www.comptechdoc.org/os/linux/..._ugfilesp.html

Third, I believe you'll need postmaster running before createdb succeeds.

Hope this helps,
JP


P.S. Desole pour l'anglais, mais je crois que tu vas rejoindre une plus
grande audience de cette facon.


Quote:
-----Original Message-----
From: pgsql-novice-owner (AT) postgresql (DOT) org
[mailtogsql-novice-owner (AT) postgresql (DOT) org] On Behalf Of jedi
Sent: Friday, April 16, 2004 9:48 AM
To: pgsql-novice (AT) postgresql (DOT) org
Subject: [NOVICE] Création de BD


Salut,

Je débute avec Linux et ce genre d'outil...

J'ai installé postgresql aujourd'hui. En fait quand j'exécute
/usr/local/pgsql/ > createdb test
je reçois le message suivant createdb: Permission non accordée

Mon utilisateur postgres est propriétaire du dossier pgsql et de ses
descendants.Les droits sont tous donnés...

Merci d'avance

Jedi

---------------------------(end of
broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.