PostgreSQL database service

前端 未结 14 2079
一生所求
一生所求 2020-12-02 22:10

I downloaded PostgreSQL from their site - http://www.postgresql.org/download/windows

However, I can\'t create a database from pgAdmin and get a mess

相关标签:
14条回答
  • 2020-12-02 22:32

    Checking the port may work.

    On pgAdmin page at the top, go to Properties and check the port if it is same with the one provided during the setup. If not click the edit button on the top right and change the port.

    0 讨论(0)
  • 2020-12-02 22:35

    If you don't want or can't install postgres again, you can install the server from the binary zip like this post explains it.

    0 讨论(0)
  • 2020-12-02 22:38

    I have the solution to this problem enters (Start -> Run -> services.msc) are looking for the postgresql service once you localizas le das Properties---> login and you disable the account you have and what you leave as the local system account , save and restart the programs pgadmin3 and ready should operate.

    Greeting from Colombia

    0 讨论(0)
  • 2020-12-02 22:39

    Use services (start -> run -> services.msc) and look for the postgresql-[version] service.

    • If it is not there you might have just installed pgAdmin and not installed PostgreSQL itself.
    • If it is not running try to start it, if it won't start open the event-viewer (start -> run -> eventvwr) and look for error messages relating to the PostgreSQL service.
    • If it does start check the startup type, if you want it to start with windows it should be "Automatic"; or perhaps "Automatic, delayed start" if you don't want it to slow down startup too much.

    Adding to the first, because in a different comment you've said the service isn't there. It is possible to download a standalone pgAdmin so you can connect to an external PostgreSQL database. It would seem you have done such a thing, or explicitly chosen to not add the service. Just try the One Click Installer, which still allows proper configuration of installation directory despite its name.

    0 讨论(0)
  • 2020-12-02 22:40

    Your server running on port 5432 but in the properties, the port is set to 5433.

    You must go to pgAdmin, click on database version, ex: PostgresSQL 10 and edit properties.

    A new window appears and you need to change the port to 5432 [this is default port].

    0 讨论(0)
  • 2020-12-02 22:41

    You might get a more descriptive error message if you tried to start the service from command line using this command:

    "C:\Program Files\PostgreSQL\9.5\bin\pg_ctl.exe" start -N "postgresql-x64-9.5" 
      -D "C:\Program Files\PostgreSQL\9.5\data" -w
    

    The log file would be at C:\Program Files\PostgreSQL\9.5\data\pg_log. Note that paths and service name might be different depending on your installation.

    0 讨论(0)
提交回复
热议问题