Skip to main content

Postgres

Connect to a private postgres instance from your favorite IDE

Connect to postgres

Open a new terminal and type

hoop connect my-conn-pg
connection: my-conn-pg | session: 0ebc7492-94bf-498e-ac9c-430f2d5e89b0

--------------------postgres-credentials--------------------
host=127.0.0.1 port=5433 user=noop password=noop
------------------------------------------------------------
ready to accept connections!

Use It

Connect to postgres using any IDE, example:

psql -h 127.0.0.1 -p 5433 mydb
info

Using DBeaver requires configuring the database connection as simple on Driver properties > preferQueryMode