Get connected!
For this course, you will be using a PostgreSQL database which lives on my server. Most of your assignments will require that you connect to this database server and execute queries against it. This assignment will walk you through the basics of connecting to the server and running a simple query. You will also change your password on the server.
You should already have an account on the database if you are registered for the course. You should have received emails giving you your account credentials. If you haven't received these, please let me know ASAP!
There are several ways to connect to the database. For this course I have provided instructions (see the help page) on how to use psql (a command line client) or SQuirreL SQL (a GUI database tool built on Java) to connect to the database. Later in the semester, you will learn how to connect and run queries on the database from within Python or Java code.
Your goal for this project is to: 1) install a SQL client, 2) run the client and connect to the database using your credentials, 3) change your password, and 4) run a simple SELECT query and report the results.
ALTER ROLE yourid PASSWORD 'newpassword';
SELECT * FROM project1;
Change your password | 10 points |
Run a simple query | 15 points |
Total: | 25 points |
README:
You do not need to submit a README for this assignment (unless you want to give some feedback on the assignment).
Submit a zip file on Canvas containing: