Hi !
Name is createdb, case sensitive. You have to add your PostgreSQL bin directory to your
path... It is a shell script, if command createdb doesn't work, try sh createdb.
Best regards
Rony
-----Ursprüngliche Nachricht-----
Von: Fredrick Bartlett [SMTP:palmtreefrb@earthlink.net]
Gesendet am: Thursday, August 17, 2000 4:52 AM
An: Mohammed Abdel'al
Cc: pgsql-ports@postgresql.org
Betreff: Re: [PORTS] postgreSQL NT4
It's running. I have been able to create tables run SQL etc. But still not
been able to create databases using createDb in bash.
Note: I also installed it on a win 2000, it's running as well. But I am
haveing similar problems running any pgsql commands at all under bash.
D:\postgreSQL\bin>bash
bash-2.04$ createDb -h localhost socaldata
bash: createDb: command not found
bash-2.04$
Any ideas would be helpful.
Mohammed Abdel'al wrote:
> How u did?
> I am dieing to get it running
> ----- Original Message -----
> From: "Fredrick Bartlett" <palmtreefrb@earthlink.net>
> To: <pgsql-ports@postgresql.org>
> Sent: Wednesday, August 16, 2000 8:32 PM
> Subject: [PORTS] postgreSQL NT4
>
> > Finally got it running on NT4, need a little help with creating
> > databases...
> >
> > Ok, I get the below error trying to run createDb. It creates the
> > physical directory, but does not "Catalog" it.
> >
> > bash-2.04$ createdb -h localhost soCalMOADB
> > ERROR: CREATE DATABASE: Could not initialize database directory. Delete
> > failed
> > as well
> > createdb: database creation failed
> > bash-2.04$
> >
> > Thanks,
> > Fredrick
> >
> >