Re: Server group becomes unusable in PGAdmin4

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Michael Krüger <michael(at)kruegers(dot)email>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Server group becomes unusable in PGAdmin4
Date: 2018-07-31 06:48:39
Message-ID: CAM9w-_m-cW9p--3wdS7K1=PONdrHUzyRq06FC6711zYM5t9sXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Michael,

You can clear the session files from sessions directory. Go to (on
MAC) - /Users/<username>/.pgadmin/sessions
directory and execute command rm -f *.
This will remove all the existing sessions.

On Tue, Jul 31, 2018 at 11:28 AM, Michael Krüger <michael(at)kruegers(dot)email>
wrote:

> Dear group,
>
> I have a server group in PGAdmin4 and played with different servers and
> different roles having different privileges. Somehow PGAdmin4 tries to
> reopen the last used server connection when a new PGAdmin4 browser window
> is opened. Now I'm in the situation where the last connection to a server
> in my server group was stripped down to the point where it could not log
> into the postgres server anymore. PGAdmin4 showed a brief "Internal Server
> Error" message and I found it wise to stop / start the PGAdmin4 backend.
> However, now every newly opened PGAdmin window is attempting to reuse my
> last broken connection and does not allow me to open my server group to
> e.g. chose a different server. I have also not found a menu entry like
> "close all connections" or "do not reconnect to server at startup", to get
> access to my server group again.
>
> Any help is appreciated - where on my Mac is the last used connection
> remembered? Can I remove that config?
>
> Thanks, Michael
>
> PGAdmin4 ( 3.1 )
>

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Michael Krüger 2018-07-31 07:11:02 Re: Server group becomes unusable in PGAdmin4
Previous Message Michael Krüger 2018-07-31 06:15:01 Unable to connect with user having only select permission on some views in PGAdmin4