PRJ2: pgAdmin Setup
pgAdmin lets you browse your deployed database in a web browser. Use it to check if your tables were created correctly, view data, and run test queries.
Step 1: Log in
Go to pgadmin.prod.fontysvenlo.dev and log in with:
| Field | Value |
|---|---|
your team name + @prj2.fontysvenlo.dev (e.g., 2026-group01@prj2.fontysvenlo.dev) |
|
| Password | the password you received from your lecturer |
Step 2: Add the database server
After logging in, you need to connect pgAdmin to the database server. You only have to do this once.
- In the left panel, right-click Servers and select Register > Server...
- In the General tab:
- Name:
PRJ2(or anything you like)
- Name:
-
Switch to the Connection tab and fill in:
Field Value Host name/address postgresql.prj2-system.svc.cluster.localPort 5432Maintenance database your team name (e.g., 2026-group01)Username your team name (e.g., 2026-group01)Password same password as your pgAdmin login Tip
Check Save password so you don't have to enter it every time.
-
Click Save
Step 3: Browse your database
- In the left panel, expand: PRJ2 > Databases > your team name > Schemas > public > Tables
- Right-click any table and select View/Edit Data > All Rows to see its contents
Running SQL queries
- Click on your database in the left panel
- Click the Query Tool button in the toolbar (or right-click your database > Query Tool)
- Write your SQL and click the play button to run it
SELECT * FROM customers;
FAQ
I can't log in
Double check that you are using the email format: your-team-name@prj2.fontysvenlo.dev (not just the team name).
"Connection refused" when adding the server
Make sure the host is exactly postgresql.prj2-system.svc.cluster.local and the port is 5432.
I don't see my tables
Your database resets on every deploy. If your init.sql has errors, your tables won't be created. Check your GitHub Actions for build errors, fix your SQL, and push again.
Can I break anything? No. Your database resets on every push anyway. Feel free to experiment.