HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

Disable automatic login in pgAdmin

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
pgadminautomaticdisablelogin

Problem

I have enabled automatic login in pgAdmin and would like to disable it to make it possible to connect to the servers using different roles.

How do I do this?

Solution

The root nodes in the "Object browser" are actually connections, not servers. And a connection requires a user name. There is a bit of mis-labelling floating around, I have raised this issue on the developer mailing list before.

However, you can just edit the properties of a connection before you open it. If you don't want to store your password for automatic login, don't check the box at login time. Once you change the username in the properties you have to enter a new password automatically.

You can also save multiple connections to the same server with different usernames.

Context

StackExchange Database Administrators Q#15144, answer score: 4

Revisions (0)

No revisions yet.