pgbouncer无法连接到服务器

时间:2017-08-03 09:30:35

标签: postgresql-9.3 pgbouncer

我已在Windows上安装和配置pgbouncer。 pgbouncer服务正在运行,但当我用postgres 9.6连接它时会抛出错误'

  

pgbouncer无法连接到服务器

' create server with pgbouncer port

pgbouncer configurations are:
postgres = host=127.0.0.1 port=4851
staging29-6-1016 = host=localhost port=4851 dbname=staging29-6-1016
listen_addr = *
listen_port = 6432
auth_type = md5
auth_file = C:\Program Files (x86)\PgBouncer\etc\userlist.txt

userlist.txt还包含md5加密密码

postgresql.conf文件包含:

listen_addresses =' *' port = 4851

请帮我解决此错误。

2017-08-03 15:23:33.429 2360 LOG C-00EA8FE0: postgres/postgres@[::1]:54985 login attempt: db=postgres user=postgres tls=no 
2017-08-03 15:23:33.429 2360 LOG C-00EA8FE0: postgres/postgres@[::1]:54985 closing because: pgbouncer cannot connect to server (age=0) 
2017-08-03 15:23:33.430 2360 WARNING C-00EA8FE0: postgres/postgres@[::1]:54985 Pooler Error: pgbouncer cannot connect to server 

0 个答案:

没有答案