How connect Postgres to localhost server using pgAdmin on Ubuntu?

前端 未结 6 757
日久生厌
日久生厌 2020-12-12 10:59

I installed Postgres with this command

sudo apt-get install postgresql postgresql-client postgresql-contrib libpq-dev

Using psql --ve

6条回答
  •  醉酒成梦
    2020-12-12 11:35

    First you should change the password using terminal. (username is postgres)

    postgres=# \password postgres

    Then you will be prompted to enter the password and confirm it.

    Now you will be able to connect using pgadmin with the new password.

提交回复
热议问题