The information can be brought up in the interface later and can help you remember facts about this server. In the comment field you can put in some information about this server connection. You could call it monkey if you want - it doesn't require any relation to a name in the real world.įor today's exercise let's name it "Workshop" This name represents the name YOU want to use to identify this PostgreSQL server in the PgAdmin interface. On the general tab, the only field required is Name. While there are quite a few boxes and tabs in this dialog, only a few of them are actually required to create a new server in PgAdmin. Go ahead and click server to bring up the new create server dialog. In our case since we are only managing one server: Server groups is just a logical organization in the PgAdmin interface. If you are going to manage and interact with a lot of PostgreSQL servers then you might want to create server groups such as testing vs production. This will then show server group and server. When you right click on the icon you should see a list of options. Let's start by doing the right click option because it will give us more flexibility. Right click on the Servers icon in the top left of the left navigation panel.Click on the "Add New Server" butting in the middle of the screen.Before we can do anything meaningful we need to connect to a PostgreSQL server. You should be seeing a screen that looks like this:
To login using username admin and password password. You may have to wait a few seconds while the PGAdmin4 interface gets rendered. Go ahead and click that tab which should spawn a new browser window or tab. If you look at the second tab in our learning interface it says PgAdmin4. Password: password (same password for the postgres user as well).Here are the details on the database we are connecting to: Inside that database we have created a spatially enabled table for storm event locations in the United States. We have already have spun up a PostgreSQL instance with a database. We use a blockquote for commands that you should do in your sessions. If not, there may be some terminology you do not understand in the class but you should still be able to complete the class without major problems. We assume you understand basic database concepts such as creating a table with data definition langauge (DDL) or simple SQL queries. Creating, editing, and executing some SQL.In this scenario we will just get you started using the tool. pgAdmin 4 is designed to meet the needs of both novice and experienced Postgres users alike, providing a powerful graphical interface that simplifies the creation, maintenance and use of database objects. PgAdmin is the leading Open Source management tool for Postgres, the world’s most advanced Open Source database. This class gives you a basic introduction to using PGAdmin4 - a GUI for working with your PostgreSQL database. Estimated Time: 15 minutes Basic Introduction to PGAdmin4