首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pg_auth/pg_pwd文件格式

pg_auth/pg_pwd文件格式
EN

Stack Overflow用户
提问于 2013-02-16 04:39:16
回答 1查看 2.4K关注 0票数 0

在设置pgbouncer时,您需要创建一个身份验证文件,“文件格式与PostgreSQL pg_ auth /pg_pwd文件相同”。这种格式是什么?试着在谷歌上搜索,会得到这句话的几页。http://www.google.com/search?q=pg_pwd+auth+file+format&oq=pg_pwd+auth+file+forma

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-02-16 04:47:50

在你的pgbouncer.ini中

代码语言:javascript
复制
auth_type = trust
auth_file = /etc/pgbouncer/userlist.txt

在userlist.txt中

代码语言:javascript
复制
"username" "password"

请注意引号。请参阅http://pgbouncer.projects.pgfoundry.org/doc/config.html#_authentication_file_format

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14902968

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档