esse erro tah ti dizendo pra tu informar onde tu keh q instale o bd...
faiz assim
$initdb -D diretorio_onde_vc_ker_instalar_o_banco
soh por nota.. eu trabaio com o SDM...
:twisted:
Versão Imprimível
esse erro tah ti dizendo pra tu informar onde tu keh q instale o bd...
faiz assim
$initdb -D diretorio_onde_vc_ker_instalar_o_banco
soh por nota.. eu trabaio com o SDM...
:twisted:
Blz LenTu agora o problema é este:
[wagner@wronieri wagner]$ initdb -D /home/wagner/
The files belonging to this database system will be owned by user "wagner".
This user must also own the server process.
The database cluster will be initialized with locale pt_BR.UTF-8.
initdb: directory "/home/wagner/" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/home/wagner/" or run initdb with an argument other than
"/home/wagner/".
o que pode ser??? e mais uma vez não consegui criar...
Valeu pela ajuda ;-)
ah o c tah tentando criar o banco numa pasta q naum estah vazia... tenta criar ele no..
/home/wagner/database
por exemplo...
tenta assim:
$initdb -D /home/wagner/database
agora deve funcionar
:twisted:
e agora aconteceu isto:
wagner@wronieri bin]$ initdb -D /home/wagner/database
The files belonging to this database system will be owned by user "wagner".
This user must also own the server process.
The database cluster will be initialized with locale pt_BR.UTF-8.
creating directory /home/wagner/database... ok
creating directory /home/wagner/database/base... ok
creating directory /home/wagner/database/global... ok
creating directory /home/wagner/database/pg_xlog... ok
creating directory /home/wagner/database/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /home/wagner/database/base/1... ok
initializing pg_shadow... /usr/bin/initdb: line 662: cannot create temp file for here document: Permissão negada
initdb: failed
initdb: removing data directory "/home/wagner/database"
o que pode ser agora?