Open zzzzz0001 opened 1 year ago
This bug exists only in pgadmin and is not seen if you do it through the ubuntu terminal
So this bug comes up with authentication in pg_hba.conf file having peer authentication than scram-sha-256
To Reproduce
Steps to reproduce the behavior:
sudo -iu postgres psql -p 5433
This would just log in to postgres database. Now let's try with pgadmin
Expected behavior It should be logging me in as the database doesn't need a password.
Error message
"Unable to connect to the server: connection to the server at "localhost" (127.0.0.1), port 5433 failed: fe_sendauth: no password supplied"
Desktop (please complete the following information):
I will show you all codes I used to install pgadmin that I put in the terminal (ref: https://www.pgadmin.org/download/pgadmin-4-apt/)
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update' sudo apt install pgadmin4
Maybe related: https://github.com/pgadmin-org/pgadmin4/issues/6741#issuecomment-1722212595
This bug exists only in pgadmin and is not seen if you do it through the ubuntu terminal
So this bug comes up with authentication in pg_hba.conf file having peer authentication than scram-sha-256
To Reproduce
Steps to reproduce the behavior:
This would just log in to postgres database. Now let's try with pgadmin
Expected behavior It should be logging me in as the database doesn't need a password.
Error message
"Unable to connect to the server: connection to the server at "localhost" (127.0.0.1), port 5433 failed: fe_sendauth: no password supplied"
Desktop (please complete the following information):
I will show you all codes I used to install pgadmin that I put in the terminal (ref: https://www.pgadmin.org/download/pgadmin-4-apt/)