There are number of ways to log into a running database instance. This document describes how to log into and browse a PostgreSQL database.
Define login details and launch pgAdmin:
export PG_USERNAME='[email protected]'
export PG_PASSWORD='PgadminUserPassword'
./bin/pgadmin.py --detach
- Visit http://localhost:5050.
- Log in with the login details defined above.
- Press
Add New Server
. General
tab- Name: <name_of_the_item>
Connection
tab- Host name/address: <hostname>, e.g. localhost, or Docker database container name
- Port: usually
5432
- Username: <superuser_username>
- Password: <superuser_password>
- Press
Save
. The Postgres server should now be ready for browsing.
Longer explanation of the above steps and configuration can be found in the pgAdmin documentation.