mirror of
https://github.com/sahinakkaya/til.git
synced 2025-07-17 14:01:49 +03:00
TIL: Connecting to a database
This commit is contained in:
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
|
||||
```
|
Reference in New Issue
Block a user