how to set up the psql command in cygwin?

前端 未结 3 1148
不知归路
不知归路 2021-02-02 16:45

I have a local dev site on my machine with Apache server and PostgreSQL 9.1 database. As I\'m using Windows, I also installed Cygwin. I want to access to database and make some

3条回答
  •  旧巷少年郎
    2021-02-02 17:15

    As of today, you just have to install postgresql-client package in cygwin:

    • Run your cygwin setup.exe file (this can be run multiple times to add more packages).
    • Type postgresql into the search box, select postgresql-client and press "next" to install.

    Now you can open Cygwin terminal and type psql to run!

提交回复
热议问题