Hello programmers, as we know to run database we need a DBMS software, so i am going to tell you all we how to run database in cmd for window or terminal for mac.
let get start
open CMD/Terminal
go to bin folder into database folder and then write code :
psql -h localhost -p 5440 -d database_name -U user_name
-h for host
-p for port
-d for database
-U for user
Top comments (0)