PostgreSQL 18 · Connecting
Connect with a connection URI
Open psql using a single connection string.
psql "postgresql://postgres@localhost:5432/mydb"
Official PostgreSQL 18 documentation
PostgreSQL 18 · Connecting
Open psql using a single connection string.
psql "postgresql://postgres@localhost:5432/mydb"
Official PostgreSQL 18 documentation
Was this page helpful?