Connecting External Tools
π Connecting to PostgreSQL using pgAdmin 4
pgAdmin is a visual database management tool for PostgreSQL, the database engine used by the MIRROR platform.
We use pgAdmin to:
- π Visually inspect the ingested data
- π§© Explore tables created by the ingestion scripts
- π οΈ Run manual SQL queries if needed
- π¦ Confirm that layers (like
projects,buildings, orglossary) are successfully stored
This guide explains how to connect to the local PostgreSQL container used by the MIRROR platform using pgAdmin 4.
β 1. Install pgAdmin 4
If you haven't already, download and install pgAdmin 4:
π https://www.pgadmin.org/download/
π 2. Register a New Server
Once pgAdmin is installed:
- Open pgAdmin 4
- Right-click on βServersβ in the left sidebar
- Click Register > Server
πΌοΈ Register Server β General Tab
- Enter any Name (e.g.,
MirrorDB) - Go to the Connection tab
π Register Server β Connection Tab
- Host name/address:
localhost
Iflocalhostdoesn't work, try127.0.0.1 - Port:
5432 - Username: (check your
.envor credentials folder, usuallycitymap) - Password: (check credentials folder or ask admin)
β Be sure to click βSave Passwordβ
π Credentials Info
Database connection credentials are typically located in: