Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • please add the password for above user. Commented Oct 30, 2018 at 11:13
  • 2
    @Vincent if the password was never changed after PostgreSQL installation, by default it is postgres (tested on Linux and Windows). Commented Mar 7, 2019 at 15:22
  • 8
    role postgres does not exist Commented Oct 2, 2019 at 8:59
  • 2
    To access a specific database you'll need to specify the db name psql -h hostname -U username -d database_name Commented Feb 12, 2021 at 9:52
  • Just works! Excellent! Commented Jan 1 at 8:46