mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
17 lines
554 B
Markdown
17 lines
554 B
Markdown
# 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
|