Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Instance <Server at 0x2298c...> is not persisted"

Tags:

pgadmin-4

After a fresh install of postgreSQL15, it seems as if it installed correctly, because I can access the server through psql just fine.

psql running sucessfully

But, when I attempt to access it through pgAdmin4, it does not automatically detect the server.

Because of this, I attempted to manually add the server through the "Register - Server" dialog box, but then I was prompted with this error: "Instance <Server at 0x2998c4c0af0> is not persisted".

"Register - Server" Dialog Box Error

I have tried to fully uninstall and reinstall both the entirety of postgreSQL15 as well as just pgAdmin4, without any luck. I've tried to keep my settings to default to hopefully eliminate any issues, but it hasn't worked thus far.

I'm running this system on windows 10, not inside a docker container, just installed in the program files folder on my PC.

My main question is how to make my server "persist" so I can get some databases up and running.

  • Reinstalling pgAdmin4 - Expected a persistent server so I can connect through pgAdmin4
  • Reinstalling postgreSQL15 - Expected a persistent server so I can connect through pgAdmin4
like image 292
Zach9224 Avatar asked Dec 11 '25 01:12

Zach9224


2 Answers

I had the same issue. I tried removing the data in the C:\Users\%USER%\AppData\Local\pgadmin folder, and received the same error upon reinstalling.

I deleted the pgadmin folder within the C:\Users\%USER%\AppData\Roaming folder, and deleted the pgadmin folder in C:\Users\%USER%\AppData\Local. This fixes the problem for most users, however in some cases a re-installation may be needed as well.

like image 142
Dalton Leth Avatar answered Dec 16 '25 02:12

Dalton Leth


For mac, delete the following hidden folder created by pgAdmin at /Users/<username>/.pgadmin and restart pgAdmin4.

like image 29
go_gunner Avatar answered Dec 16 '25 02:12

go_gunner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!