'Unable to connect to Postgresl through PGBouncer

pgbouncer=# \q postgres@dbvm2:~$ psql -p 6432 -U pcstssdbadmin postgres psql: error: ERROR: query_timeout postgres@dbvm2:~$ psql -p 5432 -U pcstssdbadmin postgres psql: error: FATAL: Peer authentication failed for user "pcstssdbadmin" postgres@dbvm2:~$ cd /etc/postgresql/12/main postgres@dbvm2:/etc/postgresql/12/main$ ls -ltrh total 92K



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source