简体   繁体   English

应用服务器的pgadmin连接问题

[英]Pgadmin connectivity issue with application server

I am using pgadmin 4.2.0 but when I open it to use, it shows the following error 我正在使用pgadmin 4.2.0,但是当我打开它使用时,它显示以下错误

The application server could not be contacted.

I installed and uninstalled the Postgres and pgadmin using brew many times but facing the same issue. 我使用brew多次安装和卸载了Postgres和pgadmin,但遇到了同样的问题。

Thanks in advance, 提前致谢,

Aisha Zafar 艾莎·扎法(Aisha Zafar)

A solution could be the usage of this docker image: 一个解决方案可能是使用此docker映像:

https://hub.docker.com/r/fenglc/pgadmin4/ https://hub.docker.com/r/fenglc/pgadmin4/

you can fix that problem with the following terminal command: 您可以使用以下终端命令解决该问题:

mv $HOME/.pgadmin $HOME/.pgadmin_backup

The problem is caused by the contents of the folder "~/.pgadmin". 该问题是由文件夹“〜/ .pgadmin”的内容引起的。 This folder may contain corrupt files or files of an incompatible pgadmin version. 该文件夹可能包含损坏的文件或pgadmin版本不兼容的文件。 The above command renames the folder so that there are no more annoying, old data. 上面的命令重命名了文件夹,以便不再有烦人的旧数据。 If necessary, old configurations can be reconstructed from the old folder. 如有必要,可以从旧文件夹中重建旧配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM