Skip to content

Instantly share code, notes, and snippets.

@vithalsamp
Created February 26, 2018 09:32
Show Gist options
  • Save vithalsamp/398df203eeebcbaec97892bc352f2adf to your computer and use it in GitHub Desktop.
Save vithalsamp/398df203eeebcbaec97892bc352f2adf to your computer and use it in GitHub Desktop.
vithal@vithal-Inspiron-3558:~$ export PGDATABASE=training
vithal@vithal-Inspiron-3558:~$ export PGHOST=vithalxxxx.xxxxx.us-east-2.redshift.amazonaws.com
vithal@vithal-Inspiron-3558:~$ export PGPORT=5439
vithal@vithal-Inspiron-3558:~$ export PGUSER=trainee
vithal@vithal-Inspiron-3558:~$ export PGPASSWORD=trainee
vithal@vithal-Inspiron-3558:~$ psql
psql (9.3.20, server 8.0.2)
SSL connection (cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256)
Type "help" for help.
training=#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment