mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-22 00:29:37 +01:00
TIL: Connecting to a database
This commit is contained in:
parent
3c6e00d217
commit
5a508f338b
9
database/postgresql/connecting-to-a-database.md
Normal file
9
database/postgresql/connecting-to-a-database.md
Normal file
@ -0,0 +1,9 @@
|
||||
```
|
||||
psql dbname username
|
||||
|
||||
# example
|
||||
|
||||
psql my_database my_user
|
||||
|
||||
psql postgresql://localhost:5432/dbname username
|
||||
```
|
Loading…
Reference in New Issue
Block a user