Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pgadmin gives me the error: no password supplied

I've installed postgresql 9.2 on linux (kubuntu) and the last version of pgadmin3, but when I connect them I have this error:

An error has occurred: Error connecting to the server: fe_sendauth: no password supplied

What can I do?

I have also configured tomcat for my web application in java. In fact, postgresql was working before trying my application.

like image 777
DarkCoffee Avatar asked Dec 26 '12 03:12

DarkCoffee


People also ask

What is the default pgAdmin password?

By Default, the user is 'postgres' and the password is the one which you enter while installing the database. (Version 11,12 I have tested). and enter the password used while installing. Or create a user with login permissions using PgAdmin tool.


1 Answers

Change the password for role postgres:

sudo -u postgres psql postgres  alter user postgres with password 'postgres'; 

Try connect using "postgres" for both username and password.

Refer to: How to change PostgreSQL user password

like image 116
Paschal Avatar answered Sep 21 '22 17:09

Paschal