Overview
Teaching: 5 min Exercises: 10 minQuestions
How do I connect to a cloud-based relational database?
Objectives
Learn how to connect to a relational database using a graphical user interface called dBeaver
We will use the DBeaver software to connect to the database.
Windows - click here and download the file to install the application
Mac OSX - click here and download the file to install the application
Linux - click here and download the file to install the application
once you have the software installed, start DBeaver
Click on the database icon:
Search postgresql
as connection type.
Fill in the connection information.
Test Connection ...
to ensure that you have entered the correct credentials.You might get prompted with the download driver files window if this is your first time using postgresql. Click on Download and follow the instructions.
If everything is connected you will get a success message.
Keep pressing next on the connection window, until finish. Once you are through, you will see the following when expanded.
We only need to access the tables. Double click on seattlecrimeincidents
table, then to Data
tab so see the data.
Take some time to become familiar with the contents of the table.
Key Points
dBeaver provides a simple interface for viewing database tables and testing SQL queries