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