database:postgres
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
database:postgres [2023/11/01 07:13] – removed - external edit (Unknown date) 127.0.0.1 | database:postgres [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:database:postgres to database:postgres skipidar | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Postgres ===== | ||
+ | ==== Docker ==== | ||
+ | |||
+ | The container in the hub: https:// | ||
+ | |||
+ | To query the postgres container connect to it using psql | ||
+ | < | ||
+ | docker exec -it postgres psql -h postgres -U postgres | ||
+ | </ | ||
+ | |||
+ | Enter the password. | ||
+ | |||
+ | To list all databases enter do | ||
+ | < | ||
+ | postgres-# | ||
+ | </ |