Ubuntu: Open localhost database in pgadmin

Make sure you have installed PGAdmin

sudo apt-get install pgadmin3

now set your database

$ sudo -u postgres psql

it will ask you password, get inside and alter the user’s password if you have not already set it

postgres=# alter user john with password 'mypassword';

and then open pg admin, fill the form and get inside

pgadmin-09 13:04:25

some helpful links


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s