Re: [GENERAL] How do I create a database if I can't connect to it?

2007-07-27 Thread Paolo Victor
b nowItWorks -p 5435 CREATE DATABASE :D Once again thanks for the help and remember: Packaging systems may bite :o Cheers, Paolo On 7/27/07, Paolo Victor <[EMAIL PROTECTED]> wrote: > > > > On 7/27/07, Paolo Victor <[EMAIL PROTECTED]> wrote: > > > > Ok, I found the

Re: [GENERAL] How do I create a database if I can't connect to it?

2007-07-27 Thread Paolo Victor
2 make[3]: Saindo do diretório `/home/paolo/Desktop/postgresql-8.2.4 /src/interfaces/ecpg' make[2]: ** [install] Erro 2 make[2]: Saindo do diretório `/home/paolo/Desktop/postgresql-8.2.4 /src/interfaces' make[1]: ** [install] Erro 2 make[1]: Saindo do diretório `/home/paolo/Desktop/postgres

Re: [GENERAL] How do I create a database if I can't connect to it?

2007-07-27 Thread Paolo Victor
On 7/27/07, Paolo Victor <[EMAIL PROTECTED]> wrote: > > Ok, I found the problem: Permissions. > > Although I -do- have write/read/exec permission /usr/local/pgsql , some > files couldn't be copied after the install, probably rendering PG a bit > unstable =) Er

Re: [GENERAL] How do I create a database if I can't connect to it?

2007-07-27 Thread Paolo Victor
ndexed NOTICE: table "pg_rewrite" was reindexed NOTICE: table "pg_trigger" was reindexed NOTICE: table "pg_description" was reindexed NOTICE: table "pg_cast" was reindexed NOTICE: table "pg_namespace" was reindexed NOTICE: table "pg_conversion&q

[GENERAL] How do I create a database if I can't connect to it?

2007-07-27 Thread Paolo Victor
Hello, For a short description, I'll just show the sequence of commands I'm trying to execute: [EMAIL PROTECTED]> initdb -D /usr/local/pgsql/data/ [EMAIL PROTECTED]> postgres -D /usr/local/pgsql/data -i -p 5435 [EMAIL PROTECTED]> createdb foo -p 5435 createdb: could not connect to database foo: F