pgadmin4 : postgresql application server could not be contacted.

后端 未结 30 2343
太阳男子
太阳男子 2020-12-07 10:31

I have installed PostgreSQL 9.6.2 on my Windows 8.1. But the pgadmin4 is not able to contact the local server. I have tried several solutions suggested here in stackoverflow

30条回答
  •  攒了一身酷
    2020-12-07 11:25

    For my case in Windows 10 for postgresql 10 version, it worked by changing SERVER_MODE to False in config_distro.py placed in web folder, as per these configuration settings: https://www.pgadmin.org/docs/pgadmin4/dev/desktop_deployment.html.

    There are other settings mentioned in this answer (https://superuser.com/a/1131964) regarding python but I just changed SERVER_MODE and it worked.

提交回复
热议问题