How can I start PostgreSQL on Windows?

后端 未结 8 832
一生所求
一生所求 2020-11-29 18:24

I have installed Postgresql on my Windows 10 PC. I have used the pgAdmin II tool to create a database called company, and now I want to start the database server running. I

8条回答
  •  温柔的废话
    2020-11-29 18:48

    If you are getting an error "psql.exe' is not recognized as an internal or external command,... "

    There can be : Causes

    • System is unable to find the psql.exe tool, because the path to this tool is not specified in the system environment variable PATH

    or - PostgreSQL Database client not installed on your PC

    Since you have already installed PostgreSQL the latter can not be the issue(assuming everything is installed as expected)

    In order to fix the first one "please specify the full path to the bin directory in the PostgreSQL installation folder, where this tool resides."

    For example

    Path: "C:\Program Files\PostgreSQL\10\bin"

提交回复
热议问题