How connect Postgres to localhost server using pgAdmin on Ubuntu?

前端 未结 6 719
日久生厌
日久生厌 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:52

    Modify password for role postgres:

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

    Now connect to pgadmin using username postgres and password postgres

    Now you can create roles & databases using pgAdmin

    How to change PostgreSQL user password?

提交回复
热议问题