If you forgot your password, which is my case, or need to migrate database connection settings from another DBeaver installation, these steps may help.
- Step 1: Open DBeaver Press:
File > Export > DBeaver > Project. - Step 2: Change the name of the export file to
.zip, and unzip. - Step 3: Copy
\projects\General\.dbeaver\credentials-config.jsonand\projects\General\.dbeaver\data-sources.jsonto the root folder or any other folder you prefer. - Step 4: Run the command
openssl aes-128-cbc -d -K babb4a9f774ab853c96c2d653dfe544a -iv 00000000000000000000000000000000 -in "credentials-config.json"
Done, it will output to the terminal as default, if you want to save in a file add > chosen_filename.json to the stp 4 command.
The data-sources.json file contains all database connection settings. To see the complete database configurations, you need to combine the data-sources.json file with the retrieved credentials file.