17 Replies Last post: Jul 15, 2014 4:03 PM by Gregory Shrago  
Keith Davis Apprentice 675 posts since
Aug 23, 2010
Currently Being Moderated

May 2, 2014 9:20 PM

Database Source No Longer Saves Credentials

A few versions ago, the storage mechanism for the Database sources was change (at least the structure of the XML changed.) Now, even thought it appears to save my credentials, I get prompted to enter them again every time I close and re-open PHPStorm.

Liubov Melnikova JetBrains 215 posts since
Nov 8, 2013
Currently Being Moderated
May 5, 2014 11:38 AM in response to: Keith Davis
Re: Database Source No Longer Saves Credentials

What DB source do you sue? Can you restart IDE, reproduce the issue and attach the log file?

I don't really believe, but maybe File | invalidate caches would work?

Liubov Melnikova JetBrains 215 posts since
Nov 8, 2013
Currently Being Moderated
May 20, 2014 4:49 PM in response to: Keith Davis
Re: Database Source No Longer Saves Credentials

Hi,

 

Sorry for the delay, I was out of office. Is issue still reproducible with the latest EAP?

Gregory Shrago JetBrains 217 posts since
Mar 27, 2006
Currently Being Moderated
May 20, 2014 8:03 PM in response to: Keith Davis
Re: Database Source No Longer Saves Credentials

The "Remember password" checkbox controls where password is actually stored.

 

  • Checked: IDE-scoped password database protected by master password
  • Unchecked: memory only, cleaned on some timeout
  • Crossed-out: for legacy data-sources password is slightly encoded dataSources.local.xml which is in VCS ignore list by default
So see the screenshot - the password is moved to dataSources.local.xml which is not shared.
See http://youtrack.jetbrains.com/issue/IDEA-125019 for some discussion on the matter.
Gregory Shrago JetBrains 217 posts since
Mar 27, 2006
Currently Being Moderated
May 26, 2014 1:31 PM in response to: Keith Davis
Re: Database Source No Longer Saves Credentials

This is not normal. Please see if .idea/dataSource.local.xml and .idea/dataSource.ids files are present.

 

If they are not please see if they correctly appears after you set up credentials / loaded schema on IDE "Save All".

 

And don't forget to include your product version / build number.

This is really-really helpful, because some stuff may break between certain EAPs.

Please see http://youtrack.jetbrains.com/issue/IDEA-123489 .

Gregory Shrago JetBrains 217 posts since
Mar 27, 2006
Currently Being Moderated
May 26, 2014 11:24 PM in response to: Keith Davis
Re: Database Source No Longer Saves Credentials

I've opened the ticket for public. But seems to be you already have the build with the fix.

Please confirm that credentials keep disappearing.

Gregory Shrago JetBrains 217 posts since
Mar 27, 2006
Currently Being Moderated
Jul 15, 2014 4:03 PM in response to: Keith Davis
Re: Database Source No Longer Saves Credentials

Thank you. Youtrack is a better place to discuss this problem.

More Like This

  • Retrieving data ...