Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pgadmin4 query tool always comes back not connected

Q: How can I diagnose and correct problems with the Query tool connection.

Using pgAdmin4 1.0-rc1 to connect to a local host "PostgreSQL 9.5.3, compiled by Visual C++ build 18..."

I can connect and drill down to my schema. I use the context menu to select 'Query tool'. The editor shows the correct database@host:port in the editor header bar.

When I execute a simple query, or any query select 1 as first;

I get the message "Not conencted to the server or the connection to the server has been closed.

instead of the expected results.

The editor alwa

like image 226
Richard Avatar asked Sep 05 '16 07:09

Richard


People also ask

How do I enable query tool in pgAdmin 4?

You can access the Query Tool via the Query Tool menu option on the Tools menu, or through the context menu of select nodes of the Browser tree control. The Query Tool allows you to: Issue ad-hoc SQL queries.

Why is pgAdmin not connecting to server?

If pgAdmin displays this message, there are two possible reasons for this: the database server isn't running - simply start it. the server isn't configured to accept TCP/IP requests on the address shown.


1 Answers

This issue has been resolved now, Upgrade pgAdmin4 to version 1.3. https://www.pgadmin.org/download/

like image 189
Murtuza Z Avatar answered Nov 05 '22 03:11

Murtuza Z