Created
July 5, 2012 06:52
-
-
Save cecilemuller/3051893 to your computer and use it in GitHub Desktop.
Get PostgreSQL 9.1 working on Windows after installer fails at initdb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cscript //NoLogo "D:/PostgreSQL/9.1/installer/server/initcluster.vbs" "postgres" "postgres" "THE_PASSWORD" "D:/PostgreSQL/9.1" "D:/PostgreSQL/9.1/data" 5432 "DEFAULT" | |
| cscript //NoLogo "D:/PostgreSQL/9.1/installer/server/startserver.vbs" postgresql-9.1 | |
| D:/PostgreSQL/9.1/bin/initdb -U postgres -E utf8 -W -d POSTGRESQL_ROOT\data | |
| D:/PostgreSQL/9.1/bin/pg_ctl -D D:/PostgreSQL/9.1/data -N Postgres9.1 -U postgres -P THE_PASSWORD register | |
| cscript //NoLogo "D:/PostgreSQL/9.1/installer/server/loadmodules.vbs" "postgres" "THE_PASSWORD" "D:/PostgreSQL/9.1" "D:/PostgreSQL/9.1/data" 5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment