Ola a todos , estou tentando configurar o PGBOUNCER no Windows 7 e estou
fazendo da seguinte forma:


No pgbouncer.ini:

[databases]
revisa2 = host=localhost port=5432 dbname=revisa

[pgbouncer]

logfile = C:\Program Files (x86)\PgBouncer\log\pgbouncer.log
pidfile = C:\Program Files (x86)\PgBouncer\log\pgbouncer.pid

listen_addr = localhost
listen_port = 6432
auth_type = md5
auth_file = pgbouncer-users.txt
admin_users = postgres

No userlist.txt :

"postgres" "wg091514"



No pg_hba.conf:

# IPv4 local connections:
host    all             all             0.0.0.0/0            md5
# IPv6 local connections:
host    all             all             ::0/0                md5

Ai para testar se tudo esta ok eu faço:

psql -U postgres -p 6432 -d revisa2

Porem retorna:

psql: ERROR:  pgbouncer cannot connect to server

Grato
Luciano
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a