User Tools

Site Tools


classes:general:dbsamples:cli_postgres

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
classes:general:dbsamples:cli_postgres [2021/08/11 17:15] – created localadminclasses:general:dbsamples:cli_postgres [2021/09/21 10:52] (current) localadmin
Line 1: Line 1:
-====== Command line connection example for Postgres database connection ======+====== Command line connection parameters for PostgreSQL database connection ======
  
-psql -d <username> -h <hostnam> -U <username> -p+''psql -d <databasename> -h <hostnam> -U <username>''
  
-You will then be prompted for your password.+You will then be prompted for your password. (That is a capital U)
classes/general/dbsamples/cli_postgres.1628720134.txt.gz · Last modified: 2021/08/11 17:15 by localadmin