Error when opening pgAdmin 4 on mac

耗尽温柔 提交于 2019-12-06 19:48:02

问题


I have installed version 4-1.5, but when opening it, it always shows this error "The application server could not be contacted."


回答1:


I removed the local directory hidden and resolved:

$ cd ~
$ rm -r .pgadmin/

Note: macOS Sierra (10.12.6) and pgAdmin 4-1.6. Also you are going to loose configuration data like database list tree, et al.

The Databases will remain intact since you are modifying/deleting PgAdmin related data not any of Postgresql itself.




回答2:


I had the same issue, I fixed it by stopping the service in Postgres app, then start pgAdmin, and then start the Postgres service. I was able to connect it after that. Hope this help.




回答3:


I had same error, but in my case I use wrong port number for the database




回答4:


On my system Safari is the problem as it was default browser.

To fix, make Chrome your default browser and try relaunching pgadmin4

OR

Manually fix by $ cat ~/.pgAdmin4.5704814747986328352.addr http://127.0.0.1:62631/?key=0ec25e6a-dfe2-483e-9814-b315ea87c3cf

Paste what you get in Chrome



来源:https://stackoverflow.com/questions/44101231/error-when-opening-pgadmin-4-on-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!