I'm trying lớn create a server for an existing database using postgresql but i'm getting this error 'ServerManager' object has no attribute 'user_info' can someone please assist má lớn overcome this error. Thanks in advance

asked Sep 29, 2021 at 14:47

2

I was getting the same error. Just use pgadmin4 version 6.15 or newer. It solved my problem.

answered Oct 27, 2022 at 15:41

4

I was getting this error because in Postgres version 15 and letter column "datlastsysoid" from the table "pg_database" has been removed. You can visit this link

So in this case you can use Postgres version 14 or earlier versions.

answered Oct 26, 2022 at 18:41

2

I had the same error while connecting lớn an old instance of PostgreSQL from pgAdmin-4. Remember that

pgAdmin III may not function as expected. Supported server versions (of pgAdmin III) are 8.4 lớn 9.4.

so pgAdmin-4 range starts from PostgreSQL 9.5

answered Jul 12, 2022 at 14:45

1

I've used just an older pg db version, and it worked!

answered Oct 27, 2022 at 21:16

1

When I got this error it seemed lớn be because I had installed pgAdmin (a newer version) separately from the full PostgreSQL install which included pgAdmin. I uninstalled the separate installation of pgAdmin this error went away.

answered May 27, 2022 at 5:58

In my own case, I had postgreSQL 14 and 15 installed. I removed the newer version I installed separately from the full PostgreSQL install which included pgAdmin, uninstalled postgreSQL 14 and removed the tệp tin (c:\Program Files\PostgreSQL\14\data) and it worked.

answered Jul đôi mươi, 2023 at 10:29

I updated both:

  • Postgres
  • PGAdmin4

Basically, I first uninstalled both Postgres và PGAdmin4 from my "Add or remove programs" panel (I'm a Windows user). I figured I needed lớn delete both, since PGAdmin4 runs on top of the normal Postgres (PGAdmin4 is just the GUI).

Next, I installed Postgres from the trang web using the official installer (just Google it lớn find). The installer also helps you install PGAdmin4 (1 installer for both). I did the normal setup, and now it works.

A bit of background on my own problem's context:

  • I created an AWS Lightsail PostgreSQL 16 database.
  • I was trying lớn connect lớn it, using my old PGAdmin4 (which was running on top of Postgres 13). Had the error you mentioned.
  • I tried JUST reinstalling PGAdmin4 -> still the same issue.
  • Next I tried lớn uninstall BOTH Postgres AND PGAdmin4 -> reinstall both again -> now it works.

Hope it helps whoever's facing the same issue!

Just try lớn remove the pgAdmin thư mục from the C:\Users\myusername\AppData\Roaming\pgAdmin and restarted the pgAdmin and it should work.

Dharman

33.1k27 gold badges99 silver badges146 bronze badges

answered Mar 21, 2022 at 9:12