Scott Sutherland 9d5f34d963
Create .pgpass
2024-09-23 10:25:09 -05:00

14 lines
416 B
Plaintext

# Format: hostname:port:database:username:password
# Local database connection
localhost:5432:mydatabase:myuser:mypassword
# Remote database connection
remote.server.com:5432:anotherdb:anotheruser:anotherpassword
# Default connection for any database on localhost
localhost:*:*:defaultuser:defaultpassword
# Wildcard example: Any database and any user connecting to localhost
localhost:*:*:*:supersecretpassword