til/database/postgresql/connecting-to-a-database.md

10 lines
121 B
Markdown

```bash
psql dbname username
# example
psql my_database my_user
psql postgresql://localhost:5432/dbname username
```