Articles → POSTGRESQL → Executing postgres command using command promptExecuting postgres command using command promptIn this article, we will login to postgres using command prompt.Login using command prompt To login using command prompt 1. Open command prompt. 2. Go to the bin folder of postgres folder (mainly in c:\program files\) 3. Write the following commandpsql -d <db_name> -U <user_name>Click to EnlargePosted By - Karan Gupta Posted On - Wednesday, October 23, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
psql -d <db_name> -U <user_name>
Query/Feedback