Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to import connections #826

Closed
shivan opened this issue Oct 10, 2016 · 4 comments
Closed

Ability to import connections #826

shivan opened this issue Oct 10, 2016 · 4 comments

Comments

@shivan
Copy link

shivan commented Oct 10, 2016

It would be great to have a rudimentary connection import from DBVisualizer.

fields to import

In my optionion imported should be:

  • connection infos (servername, port, database, username)
  • maybe password, but that's encrypted, so can be left out I think
  • folder structure

source data

The source data can be found here:
<userdir>\.dbiv\config70 (or if later version "config")
There you find a dbvis.xml.

The nodes

DBVisualizer\Databases <- contain db connections
there
Alias => Name
Driver => Driver
UserId = username

Either URL is set with a Java connectionstring or at UrlVariables\Driver there are URlVariables set
<URLVariable UrlVariableName="Server">myValue</UrlVariable>
Names are: Server, Port, Database

Properties contain for example on DB2:
<Properties>
<Property key="retrieveMessagesFromServerOnGetMessage">true</Property>
</Properties>
Which means show detailed errormessages by db2.

folder structure

The node "Objects" shows the treeview structure of the connections. Folder = folder, Database references the database entry by id.

I think other properties maybe left out in the first step.

@serge-rider
Copy link
Member

This feature is already there. Main menu File -> Import -> Third Party Configuration.
Note: some importers may be outdated.

@shivan
Copy link
Author

shivan commented Oct 11, 2016

Great.

Some notes:

  1. when asking for a driver, some more information would be nice (connection name for which it's asked)
  2. select all option in the import-list
  3. import folder structure, too

@rml1997
Copy link

rml1997 commented Dec 3, 2016

I like to generate my configuration from bash, importing a file we use to specify databases to generate .dbeaver-data-sources.xml. Will this still be supported within the new security framework in 3.8.1 and, as a seperate question, will the dbeaver importers still work?

@serge-rider
Copy link
Member

3.8.1 will have full backward compatibility. Datasources configuration won't change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants