From: | "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk> |
---|---|
To: | "'Andrew'" <andrewy(at)rnd(dot)celcom(dot)com(dot)my>, "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | RE: RE: Win95 PostGreSQL |
Date: | 2001-06-20 08:35:01 |
Message-ID: | E2870D8CE1CCD311BAF50008C71EDE8E01F745EF@MAIL_EXCHANGE |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
Hello,
It looks like you need to initdb. If you have PGDATA in the
enviroment then all you need do is initd. If you need to specify the data
directory then use -D
(eg: initdb -D /var/pgsql/data ).
You then need to start the ipc-daemon with ipc-daemon & and then the
postmaster with something like postmaster -i &
Hope this helps,
- Stuart
> -----Original Message-----
> From: Andrew [SMTP:andrewy(at)rnd(dot)celcom(dot)com(dot)my]
> Sent: Wednesday, June 20, 2001 7:46 AM
> To: 'pgsql-cygwin(at)postgresql(dot)org'
> Subject: [CYGWIN] RE: Win95 PostGreSQL
>
> Hello,
>
> I have just installed the CygWin, latest version. And I tried to use the
> createdb and psql,
> Both have the below error. Can someone help me on this error, I am newbie
> to these stuff.
> Thanks.
>
> Andrew.
>
> =========================
>
> $ createdb -p 5000 -h godnukem -e demo
> psql: connectDBStart() -- connect() failed: Connection refused
> Is the postmaster running (with -i) at 'godnukem'
> and accepting connections on TCP/IP port 5000?
> createdb: database creation failed
>
> andrew(at)STATION01 /bin
> $ createdb test
> psql: connectDBStart() -- connect() failed: No such file or directory
> Is the postmaster running locally
> and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
> createdb: database creation failed
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | S. L. | 2001-06-20 08:55:26 | Re: RE: RE: Win95 PostGreSQL |
Previous Message | Andrew | 2001-06-20 06:45:45 | RE: Win95 PostGreSQL |