在设置pgbouncer时,您需要创建一个身份验证文件,“文件格式与PostgreSQL pg_ auth /pg_pwd文件相同”。这种格式是什么?试着在谷歌上搜索,会得到这句话的几页。http://www.google.com/search?q=pg_pwd+auth+file+format&oq=pg_pwd+auth+file+forma
发布于 2013-02-16 04:47:50
在你的pgbouncer.ini中
auth_type = trust
auth_file = /etc/pgbouncer/userlist.txt在userlist.txt中
"username" "password"请注意引号。请参阅http://pgbouncer.projects.pgfoundry.org/doc/config.html#_authentication_file_format
https://stackoverflow.com/questions/14902968
复制相似问题