문제

When setting up pgbouncer, you need to create an auth file, "The file format is the same as the PostgreSQL pg_auth/pg_pwd file". What is this format? Trying to google yields pages of this sentence. http://www.google.com/search?q=pg_pwd+auth+file+format&oq=pg_pwd+auth+file+forma

도움이 되었습니까?

해결책

In your pgbouncer.ini

auth_type = trust
auth_file = /etc/pgbouncer/userlist.txt

In userlist.txt

"username" "password"

Note the quotes. See http://pgbouncer.projects.pgfoundry.org/doc/config.html#_authentication_file_format

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top