pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Cannot connect to the server via Query Tool Workspace

Open bvaughan981 opened this issue 2 months ago • 0 comments

Please note that security bugs or issues should be reported to [email protected].

Describe the bug

I have a local database (localhost:5432). It has a database "postgres" I can register a service in the Object Explorer and I can view the database and the tables. When I click on the Query Tool Workspace, and select the existing server and database and enter the user and password and click Connect & Open Query Tool i get this error: connection failed: connection to server at "127.0.0.1", port 5432 failed: FATAL: database "5" does not exist

To Reproduce

Steps to reproduce the behavior:

  1. Install a local database
  2. Click on Query Tool Workspace
  3. Select the existing server and database and enter the user and password
  4. Click Connect & Open Query Tool
  5. See the errorExpected behavior

Error message

connection failed: connection to server at "127.0.0.1", port 5432 failed: FATAL: database "5" does not exist

Screenshots

Image

Desktop (please complete the following information):

  • OS: OSX Sequoia 15.6.1
  • pgAdmin version: 9.10
  • Mode: Desktop

bvaughan981 avatar Nov 14 '25 15:11 bvaughan981