Re: Unable to access local server

From: Ray O'Donnell <ray(at)rodonnell(dot)ie>
To: B A <babakasadishad(at)gmail(dot)com>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: Unable to access local server
Date: 2025-06-09 20:08:19
Message-ID: 01020197564ee270-8dcdf3c5-bcbb-4261-8bfc-723d6eae99c1-000000@eu-west-1.amazonses.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 09/06/2025 20:57, B A wrote:
> Hi,
>
> Thanks but now it's giving me the following error:
> Unable to connect to server: connection failed: connection to server
> at "127.0.0.1", port 5432 failed: fe_sendauth: no password supplied
>
> However, when I installed pgadmin4, it never asked me to set up a
> password, so how can I proceed?

Hi there,

This is a password for PostgreSQL - or at least, the user under which
you're connecting to the PostgreSQL server. When you're first adding the
server to pgAdmin, there's an option to specify the password (assuming
you're using password authentication, and not another mechanism - you
specify that at initial-connection time too).

For a server that's already listed in the tree view in pgAdmin, you can
have it forget whatever password you may already have entered and saved
- right-click on the server in the tree-view, and if pgAdmin has saved a
password then there'll be a option, "Clear saved password". Click this,
and then you can re-enter the password on next connection.

HTH,

Ray.

>
> Please advise.
>
> On Mon, Jun 9, 2025 at 5:46 AM Ray O'Donnell <ray(at)rodonnell(dot)ie> wrote:
>
> You want either "localhost" or 127.0.0.1 as the host.
>
> Ray.
>
>
> On 9 June 2025 09:55:19 B A <babakasadishad(at)gmail(dot)com> wrote:
>
>> Hi,
>>
>> I tried downloading and for host I put "local" (without quotes)
>> and it gives this error:
>> Unable to connect to server: [Errno 11001] getaddrinfo failed
>>
>> So I cannot use pgadmin on Windows PC.
>>
>> Please advise.
>>
>> Thanks,
>> Bob
>

--
Raymond O'Donnell // Galway // Ireland
ray(at)rodonnell(dot)ie

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Shakir Idrisi 2025-06-10 07:04:09 Issue with pgAdmin 4 Login Behind NGINX Reverse Proxy at /pgadmin4 Path
Previous Message B A 2025-06-09 19:57:27 Re: Unable to access local server