Changes between Version 13 and Version 14 of UsersWikiWinCompileInitdb
- Timestamp:
- 07/16/09 19:06:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiWinCompileInitdb
v13 v14 6 6 1. Create a windows local user called postgres 7 7 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) 9 9 4. Install as service: (From Dos not MingW) 10 10 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" 12 12 5. go into services panel under windows and start 13 13 … … 21 21 22 22 23 export PGPORT=543 223 export PGPORT=5434 24 24 25 25 export PGUSER=postgres