Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

test the postgresql db connection

psql -U kodekloud_aim -d kodekloud_db8 -h 127.0.0.1 -W  ## Change name according to question
#### for the test on mode postgres u have
## conninfo 
## l
## dg+
## q   # to quit
psql -U kodekloud_gem -d kodekloud_db10 -h localhost -W
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #test #postgresql #db #connection
ADD COMMENT
Topic
Name
1+9 =