osx snow leopard - installing postgres 9.2 on Mac OSX 10.6 with KyngChaos package -
i'm trying install postgres 9.2 on mac 10.6 using using kyngchaos (because i'd enable postgis, , seems best package with).
i problem spelled out @ bottom of page: http://www.kyngchaos.com/software/postgres
--
note: i've had reports of installer not initializing data cluster, results in postgres not starting. seems random, , haven't figured out cause yet. if postgres won't start (you error "could not connect server: no such file or directory" when trying connect psql), try manually initializing cluster with:
/usr/local/pgsql-9.1/bin/initdb -u postgres \ -d /usr/local/pgsql-9.1/data --encoding=utf8 --locale=en_us" or see locales , encodings readme if need different locale or encoding.
then stop , start postgres specified in readme.
--
i run
/usr/local/pgsql-9.1/bin/initdb -u postgres -d /usr/local/pgsql-9.1/data --encoding=utf8 --locale=en_us" which opens new line enter additional commands > i'm lost there, after combing readme.
Comments
Post a Comment