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