新手问题 mac postgresql 安装版的问题

jeremy16601 · July 06, 2013 · Last by jeremy16601 replied at July 08, 2013 · 4642 hits

弱弱的问下,在http://www.postgresql.org/download/ 官网下了个 dmg 的安装版, 想问下 postgresql 默认的账号和密码是多少啊。

我装的时候貌似要输密码。。

postgresql 是用的系统用户的验证?

psql -U _postgres postgres 进去改密码 默认 local all all trust

还是用 brew 装最好。

brew install postgresql

说明详尽,还包括怎么装 gem

brew info postgresql

额,我就装了个大象,我喜欢这种打成包的...

http://postgresapp.com/

#6 楼 @blacktulip 我的也是大象

#6 楼 @blacktulip 安装好后,怎么也登陆不上 pgAdmin3,进入到 9.2 目录 bin 下,执行 psql, psql: FATAL: password authentication failed for user“xxx” @hooopo

You need to Sign in before reply, if you don't have an account, please Sign up first.