Création de BD
Création de BD
От:
dayersystem@bluewin.ch (jedi)
Дата:
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
RE: [NOVICE] Création de BD
От:
"JP Beaudry" <jbeaudry@cisco.com>
Дата:
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/usersguide/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. > -----Original Message----- > From: pgsql-novice-owner@postgresql.org > [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of jedi > Sent: Friday, April 16, 2004 9:48 AM > To: pgsql-novice@postgresql.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 >
RE: [NOVICE] Création de BD
От:
"Hari Bhanujan" <hbhanujan@sbcglobal.net>
Дата:
Appears to be a permission problem (I do not speak French) but Check the permissions for the user that you are logged into the system with at the file system level and then see if that makes a difference Chown username file Chmod 777 file Regards Hari -----Original Message----- From: pgsql-novice-owner@postgresql.org [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of jedi Sent: Friday, April 16, 2004 8:48 AM To: pgsql-novice@postgresql.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