Changes between Version 43 and Version 44 of UsersWikiWinCompileInitdb
- Timestamp:
- 12/09/09 10:36:32 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiWinCompileInitdb
v43 v44 6 6 1. '''Create a Windows local user''' called "postgres". 7 7 8 2. '''Initialize the DB cluster''' from the M sysshell:8 2. '''Initialize the DB cluster''' from the MSYS shell: 9 9 10 10 /c/postgres/bin/initdb -U postgres -D /c/postgres/data -A trust … … 34 34 sc delete "pgsql-8.4 test" 35 35 36 '''Option B) Directly from the DOS shell :'''36 '''Option B) Directly from the DOS shell (prefered option):''' 37 37 38 38 1) In the same shell in which you initialized the DB cluster, do: … … 49 49 50 50 51 5. Before you do a make check for PostGIS, make sure to do an export of PGPORT and other variable to point to the one you are testing (you do this in Msys) 52 http://www.postgresql.org/docs/8.4/interactive/libpq-envars.html 51 5. '''Export the configuration variables''' 53 52 54 These are only good for the current session 53 Before you do a make check for PostGIS, make sure to do an export of '''PGPORT''' and other variable to point to the one you are testing (you do this in MSYS). For more information about the PostgreSQL environment variables see http://www.postgresql.org/docs/8.4/interactive/libpq-envars.html 55 54 56 export PATH="/c/postgres/bin:$PATH" 55 These are only good for the current session 56 57 export PATH="/c/postgres/bin:$PATH" 58 59 export PGPORT=8433 60 61 export PGUSER=postgres 57 62 58 63 59 export PGPORT=8433 60 61 export PGUSER=postgres 62 63 64 to see path settings or any other variables at msys prompt 64 to see path settings or any other variables at MSYS prompt: 65 65 echo ${PATH}