dbcli / pgcli

Postgres CLI with autocompletion and syntax highlighting
http://pgcli.com
BSD 3-Clause "New" or "Revised" License
12.04k stars 553 forks source link

how to provide password by command line option. #1476

Closed bestgopher closed 1 month ago

bestgopher commented 1 month ago

Description

Your environment

dbaty commented 1 month ago

Just like psql, pgcli does not have any command line option to provide the password. Alternatives:

Also, note that pgcli supports .pgpass. See PostgreSQL documentation for further details.

For future questions, please open a new discussion here.

bestgopher commented 1 month ago

Thanks for your reply.