0

I recently installed Postgresql 12, during the installation, there's no step to put password and username for Postgres. Now in pgAdmin 4, I wanted to connect the database to server and it's asking me to input password, and I haven't put any in the first place. Any one knows what's going on. Thank you!

  • check your `pg_hba.conf` -file. You can always access your database from console with command `sudo -u postgres psql` where "postgres" is name of the user for postgres. – ex4 Apr 27 '20 at 05:27
  • 1
    Also, add your operating system and which installation method you used. – Laurenz Albe Apr 27 '20 at 06:18

0 Answers0