The Data Geekery SQL Masterclass Setup Instructions
Setup Instructions Download and install PostgreSQL 9.5, e.g. from: http://www.jooq.org/training/SQL/Setup Make sure that pgAdmin is installed as well, or install the SQL client of your choice instead, e.g. DBeaver (http://dbeaver.jkiss.org) Create a user postgres with password postgres (should be created by default) Create a database with the name «Sakila» (easiest in pgAdmin) Download the PostgreSQL Sakila database port from from http://www.jooq.org/training/SQL/Setup Run postgres-sakila-schema.sql and postgres-sakila-insert-data.sql, preferably from the commandline via « psql -U postgres -d Sakila -f [filename.sql] »
Setup Troubleshooting Missing privileges? ALTER USER postgres WITH superuser; Where *IS* PostgreSQL? Windows: C:\Program Files\PostgreSQL\9.5 Mac: /Library/PostgreSQL/9.5, or: https://wiki.postgresql.org/wiki/Installers/Mac_OS_X Postgres user’s password: Either «postgres» or no password If you have two instances, try providing the port to psql. Default is 5432