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

10 lines
117 B
Markdown
Raw Normal View History

2021-07-07 16:36:13 +02:00
```
psql dbname username
# example
psql my_database my_user
psql postgresql://localhost:5432/dbname username
```