We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defaults: &defaults adapter: postgresql encoding: unicode host: localhost pool: 5 username: postgres password:
The text was updated successfully, but these errors were encountered:
@Ival ok,你可以提交 PL
Sorry, something went wrong.
这个 改动,增加了 host 参数
host: localhost
使得连接 PostgreSQL 的方式从 Unix Domain Socket 变为 TCP 连接了。
考虑到 windows 平台下的用户用不了 Unix Domain Socket,还是不去掉 host 参数了,直接修改 PostgreSQL的权限控制吧。
修改 /etc/postgresql/9.1/main/pg_hba.conf 权限控制,本地 TCP 访问设置为完全信任
/etc/postgresql/9.1/main/pg_hba.conf
TCP
#host all all 127.0.0.1/32 md5 host all all 127.0.0.1/32 trust
记得重启 PostgreSQL
sudo service postgresql restart
No branches or pull requests
The text was updated successfully, but these errors were encountered: