0
设置pgbouncer时,需要创建一个auth文件“文件格式与PostgreSQL pg_auth/pg_pwd文件相同”。这是什么格式?试图谷歌收益这句话的网页。 http://www.google.com/search?q=pg_pwd+auth+file+format&oq=pg_pwd+auth+file+formapg_auth/pg_pwd文件的格式
设置pgbouncer时,需要创建一个auth文件“文件格式与PostgreSQL pg_auth/pg_pwd文件相同”。这是什么格式?试图谷歌收益这句话的网页。 http://www.google.com/search?q=pg_pwd+auth+file+format&oq=pg_pwd+auth+file+formapg_auth/pg_pwd文件的格式
在你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
谢谢,'人pgbouncer'也有。 – 2013-02-15 20:54:16