2020年12月22日星期二

DBeaver: how to preconfigure connections for my users?

I'm trying to pre-configure some connections for my users. The documentation clearly says that it is possible:

DBeaver can load multiple connection files. Any files in project folder matching .dbeaver/data-sources*.json pattern will be loaded on startup. So you can create a file, say, .dbeaver/data-sources-2.json in the project folder and DBeaver will see it.

But when I copy a file name data-sources-padrao.json to the path %USERPROFILE%\AppData\Roaming\DBeaverData\workspace6\General\.dbeaver\ before starting DBeaver for the first time, no connection is displayed and the file is renamed to data-sources-padrao.json.bak. If I copy it after starting DBeaver for the first time, the file is ignored.

How do I pre-configure a bunch of connections in DBeaver?

If the user already has a working installation, I'd like to add new connections without disturbing the old ones. If it is a fresh install, the user would open DBeaver and it would show all the connections already configured.

https://stackoverflow.com/questions/65417673/dbeaver-how-to-preconfigure-connections-for-my-users December 23, 2020 at 08:40AM

没有评论:

发表评论