I tried to initialize a cluster using Cygwin.exe using this URL:
1. Download and run the Cygwin installer. Visit http://cygwin.com/ and
click on the "Install Cygwin now' link. This will prompt you
to download a "setup.exe". Save this file somewhere on your
system and then execute it.
2. Proceed through the Cygwin install wizard. Choose 'Install from
Internet', specify a Local Package Directory and choose a mirror
site that's close to you. Answer the other installer questions
appropriately for your configuration.
When you come to the point of choosing which packages to install,
expand the 'Database' section and click 'Skip' next to PostgreSQL
to change it to the latest version of PostgreSQL available for
3. Once the download and install process is complete, open a Cygwin
shell and do the following for a basic installation:
3a. Start cygserver for shared memory support. To do this,
enter the command "/usr/sbin/cygserver &". This program
needs to be running anytime you start the PostgreSQL server
(postmaster) or initialize a database (initdb).
This is fine.
3b. Use the initdb command to create a new database cluster. An
example command would be:
initdb -D /usr/local/pgsql/data -W -E LATIN1
Which will create a cluster in the /usr/local/pgsql/data
directory, will prompt for a superuser password and will
set the default database encoding to LATIN1.
initdb command not recognized!
What am I doing wrong?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
pgsql-cygwin by date
|Next:||From: Support||Date: 2005-07-13 16:58:41|
|Subject: Problem with Cygwin 1.5.18|
|Previous:||From: Jeison Morais||Date: 2005-07-11 18:49:37|
|Subject: Error in PGSL in cywin with windows 2000|