Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Last active January 30, 2017 21:47
Show Gist options
  • Select an option

  • Save jendiamond/eb5aed33dc9dd9153b7888a24425ed18 to your computer and use it in GitHub Desktop.

Select an option

Save jendiamond/eb5aed33dc9dd9153b7888a24425ed18 to your computer and use it in GitHub Desktop.
  • Download the zipfile
  • Open and extract the .tar file use iZip
  • Open pgAdmin3 in the terminal $ pgadmin3
  • Double click on PGSQL9.5 to see the database drop down
  • Right click on Databases and select "New Database"
  • Name the database and select done

Creating a Database

In pgAdmin3 there are a few different ways to create a database

One way in pgAdmin3:

  • Right click on Databases
  • Select New Database
  • Name it
  • Click OK

Another way in pgAdmin3:

  • Click Postgres
  • THen click SQL in the toolbar which brings up a SQL editor
  • In that editor type in: CREATE DATABASE nameofdatabase;
  • Click the green arrow to run/execute the query
  • You'll see in the output section "Query returned successfully with no result in 658 ms."

Deleting a Database

  • Right click on the database you want to delete and select Delete/Drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment