Save database password
已回答
When I write all db params and click "Test Connection" it's Succesful. And password shows as ******
After that I click "Apply" and password field shows as <hidden>. But if i click "Test Connection" - it's Failed.
I think that password not hidded, but resets. And that's why I can't connect to DB
OS: Kubuntu 16.04 x64
PhpStorm 2017.3.3
Build #PS-173.4301.34, built on January 18, 2018
JRE: 1.8.0_152-release-1024-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.13.0-31-generic
P.S: no such problem on windows
请先登录再写评论。
Hi there,
What option do you have selected at "Settings/Preferences | Appearance & Behavior | System Settings | Passwords"?
If it's other than KeePass then try choosing that option.
It's possible that Keychain that IDE supports is not supporter on your OS (e.g. required libraries are not installed -- might be the case on Kubuntu). You may check the idea.log for some hints (exception details). KeePass is standalone solution and works on any OS.
Andriy, not find info about Keychain for linux, so i install KeePass. And it's work for me. Thanks!
Not a Linux user so cannot suggest what can be installed to make PhpStorm to use Keychain properly.
Consider watching https://youtrack.jetbrains.com/issue/IDEA-161065 ticket for possible updates.
Maybe devs will implement KWallet support one day as well: https://youtrack.jetbrains.com/issue/IDEA-163275
I am using Kubuntu 18.04.
I had the same problem.Thanks to the clue from Andriy, I was able to solve this by simply installing gnome-keyring...
sudo apt install gnome-keyring
I didn't even need to restart anything. I retyped my password in the Properties menu, and everything worked fine after that.
There is an issue with it on KDE.
My solution:
install gnome-keyring and add this to your ~/.xinit.rc:
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)