Bonjour,
Je dois développer une application en PHP / Postgres en local sous Windows XP Pro. J'ai donc installé cygwin. J'ai installé ipc-daemon2 en service NT, j'ai créé sans pb un utilisateur auquel j'ai donné les droits de se logguer en tant que service. Ensuite je me loggue sous Windows avec cet utilisateur et j'essaye d'initialiser ma bbd avec la commande suivante :
initdb -D /usr/share/postgresql/data, j'obtiens le message suivant :
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale C.
creating directory /usr/postgresql/data... ok
creating directory /usr/postgresql/data/base... ok
creating directory /usr/postgresql/data/global... ok
creating directory /usr/postgresql/data/pg_xlog... ok
creating directory /usr/postgresql/data/pg_clog... ok
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /usr/postgresql/data/base/1... Signal 12
initdb: failed
initdb: removing data directory "/usr/postgresql/data"
Merci d'avance pour vos réponses.
SD
Partager