Share my Db Connection details to other intellij projects
Answered
I have the following Db connections details saved in one of project :

Now I want to share these details to other projects on my laptop or my friend laptop . How to do it ?
Please sign in to leave a comment.
See Copy a data source from one IDE to another IDE, or to another computer section in Copy and share data sources in IntelliJ-based IDEs blog post.
Okay , But the XML so generated don't have password saved.
I also have forgotten what password I used to connect these Db. How to know it ?
Also, is there a way to export connection details + password too ? (not just connection details)
Passwords are not shared due to security reasons.
Okay passwords are not shared. But they are saved in IntelliJ.
I also have forgotten what password I used to connect these Db. How to know it ? I told IntelliJ to save it. Where has it saved ? How to get it back ?
There is no way to display a password in plain text in IDE. You can export passwords via password database file: https://youtrack.jetbrains.com/issue/IDEA-170108#focus=streamItem-27-2037431.0-0
Thanks for the update . I went to `Settings -> Appearance -> System Settings -> Passwords` and found this :
Now , to open this c.kdbx file , I searched for Intellij help docs https://www.jetbrains.com/help/idea/http://keepass.info/ which has no content.
How to open this file ? What will be the password for opening this file ? i tried to make a copy of this file and tried to open it with : https://keeweb.info/ but it is asking password ? I am using Mac OS X
>How to open this file ? What will be the password for opening this file ?
See mentnioed comment in YouTrack:
>Set Master Password (never forget it)
It is the IDE master password: you entered it when you first time used password storage in IDE (to save any other password).