Unix Technical Forum

Re: pgadmin 1.4 not remembering password

This is a discussion on Re: pgadmin 1.4 not remembering password within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> David Fisher wrote: >Changed the password in pgpass.conf, opened pgAdmin, went past the error >msg, logged in with the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:16 PM
Andreas Pflug
 
Posts: n/a
Default Re: pgadmin 1.4 not remembering password

David Fisher wrote:

>Changed the password in pgpass.conf, opened pgAdmin, went past the error
>msg, logged in with the correct password, closed pgAdmin; the correct
>password had been written to pgpass.conf.
>
>

If pgAdmin doesn't ask for the password, it won't write it to the file,
so your manual change was it. But what's the difference? Server locale,
workstation locale, database encoding?

Regards,
Andreas


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:17 PM
Andreas Pflug
 
Posts: n/a
Default Re: pgadmin 1.4 not remembering password

Collin Peters wrote:
> On 12/7/05, Andreas Pflug <pgadmin@pse-consulting.de> wrote:
>
>>See www.pgadmin.org

>
>
> 1.5 snapshot did not work
>
> I un-installed 1.4 (and my old 1.2 which I thought may cause some
> problems) and ran 1.5. Same problem.... I noticed it still remembered
> my server info so I found a registry key (HKCU\Software\pgAdmin III)
> deleted it and then pgadmin seemed to start up fresh (tips started
> showing up again, etc..) I then added a new server, and it was
> exactly like the process before. i.e. same error, etc...
>
>
>>>By db/user/passwd details do you mean the contents of pgpass.conf? If
>>>so it is
>>>
>>>127.0.0.1:5432:*:dbuser:dbpassword

>
>
> Well... not sure what else to say Must be something in the OS...
> some DLL or something. Like I said... the same setup works ok on
> other computers.


The new snapshot will log the password filename if debugging log is
enabled; this should be consistent with what SET APPDATA returns on a
command line. If not, let me know.

In addition, you could check for other libpq.dll versions sneaking
around on your computer; report the version you're actually using.

All I can advise further is to check with psql and manually editing
pgpass.conf, and post the difference.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 08:22 PM
Collin Peters
 
Posts: n/a
Default Re: pgadmin 1.4 not remembering password

An update to this thread for this issue for any future people having
the same problem

Found a fix for this. It seems that if you have the address set to
'127.0.0.1' it does not correctly use the stored password but if you
use 'localhost' it does. Very strange indeed.

On 12/9/05, Andreas Pflug <pgadmin@pse-consulting.de> wrote:
> Collin Peters wrote:
> > On 12/7/05, Andreas Pflug <pgadmin@pse-consulting.de> wrote:
> >
> >>See www.pgadmin.org

> >
> >
> > 1.5 snapshot did not work
> >
> > I un-installed 1.4 (and my old 1.2 which I thought may cause some
> > problems) and ran 1.5. Same problem.... I noticed it still remembered
> > my server info so I found a registry key (HKCU\Software\pgAdmin III)
> > deleted it and then pgadmin seemed to start up fresh (tips started
> > showing up again, etc..) I then added a new server, and it was
> > exactly like the process before. i.e. same error, etc...
> >
> >
> >>>By db/user/passwd details do you mean the contents of pgpass.conf? If
> >>>so it is
> >>>
> >>>127.0.0.1:5432:*:dbuser:dbpassword

> >
> >
> > Well... not sure what else to say Must be something in the OS...
> > some DLL or something. Like I said... the same setup works ok on
> > other computers.

>
> The new snapshot will log the password filename if debugging log is
> enabled; this should be consistent with what SET APPDATA returns on a
> command line. If not, let me know.
>
> In addition, you could check for other libpq.dll versions sneaking
> around on your computer; report the version you're actually using.
>
> All I can advise further is to check with psql and manually editing
> pgpass.conf, and post the difference.
>
> Regards,
> Andreas
>


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 08:22 PM
Dave Page
 
Posts: n/a
Default Re: pgadmin 1.4 not remembering password




On 29/3/06 19:34, "Collin Peters" <cadiolis@gmail.com> wrote:

> An update to this thread for this issue for any future people having
> the same problem
>
> Found a fix for this. It seems that if you have the address set to
> '127.0.0.1' it does not correctly use the stored password but if you
> use 'localhost' it does. Very strange indeed.


That's really bizzare. I'll look into it when I get a minute - thanks for
reporting back.

Regards, Dave.


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com