I'm trying to connect to localhost using the postgres user and the password I created during the installation but nothing happened. I looked everywhere and nothing works. I already have reinstalled the software. I'm running windows 10 and on the latest version of postgresql.
Here is how I set up the connection
# TYPE DATABASE USER ADDRESS METHOD
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
local all postgres trust
#host replication postgres ::1/128 md5
Thanks in advance for your help