# PostgreSQL ## TL;DR ```sh # connect to a server psql --host "${HOSTNAME}" --port "${PORT:-5432}" "${DATABASENAME:-root}" "${USERNAME:-root}" ``` ## Further readings - [Connect to a PostgreSQL database]: https://www.postgresqltutorial.com/connect-to-postgresql-database/ - [Docker image]: https://github.com/docker-library/docs/blob/master/postgres/README.md [connect to a postgresql database]: https://www.postgresqltutorial.com/connect-to-postgresql-database/ [docker image]: https://github.com/docker-library/docs/blob/master/postgres/README.md