wiki:UsersWikiWinCompileInitdb

Version 8 (modified by robe, 15 years ago) ( diff )

===Initialize PostgreSQL cluster and run as server for compiled version ===

This is still a work in progress Back to windows compile

  1. Create a windows local user called postgres
  2. /c/postgres/bin/initdb -U postgres -W -D /c/postgres/data -A trust
  3. you may want to change the port in the C:/postgres/data/pogstresql.conf file
  4. Install as service: (From Dos not MingW)

"c:\postgres]bin\pg_ctl" register -N "pgsql-8.3 test" -D "C:\postgres\data" -U postgres -P "somepassword"

  1. go into services panel under windows and start
Note: See TracWiki for help on using the wiki.