Changes between Version 13 and Version 14 of UsersWikiWinCompileInitdb


Ignore:
Timestamp:
Jul 16, 2009, 7:06:45 PM (15 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiWinCompileInitdb

    v13 v14  
    66  1. Create a windows local user called postgres
    77  2. /c/postgres/bin/initdb -U postgres -W -D /c/postgres/data -A trust
    8   3. you may want to change the port in the C:/postgres/data/pogstresql.conf file
     8  3. you may want to change the port in the C:/postgres/data/pogstresql.conf file (in our case running under 5434 not to conflict with our regular postgres install)
    99  4. Install as service: (From Dos not MingW)
    1010
    11 "c:\postgres]bin\pg_ctl" register -N "pgsql-8.3 test" -D "C:\postgres\data" -U postgres -P "somepassword"
     11"c:\postgres\bin\pg_ctl" register -N "pgsql-8.3 test" -D "C:\postgres\data" -U postgres -P "somepassword"
    1212  5. go into services panel under windows and start 
    1313
     
    2121
    2222
    23 export PGPORT=5432
     23export PGPORT=5434
    2424
    2525export PGUSER=postgres