A man's nothing without his tools.
—Kathy Reichs

Installation of pgAdmin

In this chapter, you'll install pgadmin and configure connections to the database server. This involves a fair bit of configuration. Lots of things can (and will) go wrong but don't worry: we are here to help.

Connecting to the database server

It is possible to install database software on your own laptop. However, for larger applications, a database server that runs the software is commonly used. Everyone that needs to use the database stored on the server (be it humans, software, ...) then connects to the server using a piece of software. In this course, we will use a PostgreSQL server. You communicate with the server via a client. There are dozens of clients. In this course we will use two of them: pgAdmin and DBSchema. For the first lessons pgAdmin will do fine.

The figure below shows how a client never interacts directly with the data itself, but how it always interacts via a database server (source figure).

client-server at databases, source: https://medium.datadriveninvestor.com/artificial-intelligence-series-part-5-data-analysis-using-sql-7e61bee24b85

Installation pgAdmin

Follow the steps in the document ‘manual24-25.pdf’. This manual describes in detail how to install pgAdmin and how to configure three connections to the database server within pgAdmin. The video below demonstrates the steps of the manual for a previous academic year (so the connections have a different number), but the steps stay the same.

After executing all of the steps, you should have three connections to the database: