PGAdmin:未连接到服务器或与服务器的连接已关闭 [英] PGAdmin: Not connected to the server or the connection to the server has been closed
问题描述
我在使用postgreSQL时遇到了这个问题,当我对任何内容进行简单查询(CRUD)时,有时它都有效并且几乎总是显示此消息:
i got this problem with postgreSQL, when i do a simple query of anything (CRUD), sometimes it works and almost always shows this message:
未连接到服务器或与服务器的连接已关闭.
Not connected to the server or the connection to the server has been closed.
我不知道如何解决它,它开始激怒了我,有人知道如何解决它?
I don't know how to solve it and it started to irritate me, anyone know how to fix it?
更新1
我一直在搜索,似乎是pgadmin4的问题(似乎是因为它不是100%开发的),我一直在使用pgadmin3,并且没有出现该错误.
I have been searching and it seems the pgadmin4 the problem (it seems because it's not 100% developed yet), i have been using pgadmin3 and that error doesn't show up.
推荐答案
发生这种情况的原因是查询中的语法错误.检查语法,然后重试,也许就足够了
The reason this happened for me was a syntax error in the query. Check your syntax and try again, maybe this suffices
这篇关于PGAdmin:未连接到服务器或与服务器的连接已关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!