Difference between revisions of "$HOME/.pg service.conf"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 11: Line 11:
 
  [[psql]] service=MyDB
 
  [[psql]] service=MyDB
 
  https://stackoverflow.com/a/39097994
 
  https://stackoverflow.com/a/39097994
 +
 +
[hansservice]
 +
host=localhost
 +
port=5432
 +
dbname=test
 +
user=hs
 +
password=abc
  
  

Revision as of 08:30, 9 September 2021

touch .pg_service.conf
# My comment for mydb
[MyDB] 
host=somehost 
port=5433 
user=admin


psql service=MyDB
https://stackoverflow.com/a/39097994
[hansservice]
host=localhost
port=5432
dbname=test
user=hs
password=abc


Related terms

See also

Advertising: