Dbeaver: How change data source from a ERD file?

Created on 27 Mar 2017  路  1Comment  路  Source: dbeaver/dbeaver

I Would like to change the data source of my ERD file to another datasource. How can I do that?

I don't have the older connection anymore, and my ERD file was customized. I can't loose it.

Editing the xml file (ERD file), I can see the tag , but I don't know the data source id, and I think that it should be possible through DBeaver.

How can a share my ERD file if the data source id is different in each machine?

tks!

question

Most helpful comment

There is no such feature in UI.
You can edit ERD files directly and update id attribute in tables references:

<data-source id="mysql5-1370725517603--1301597195">
...

To get datasource ID open .dbeaver-data-sources.xml file in the root of workspace directory, find your connection there (e.g. by name) and copy id attribute.

>All comments

There is no such feature in UI.
You can edit ERD files directly and update id attribute in tables references:

<data-source id="mysql5-1370725517603--1301597195">
...

To get datasource ID open .dbeaver-data-sources.xml file in the root of workspace directory, find your connection there (e.g. by name) and copy id attribute.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nihlus picture Nihlus  路  3Comments

kaniblu picture kaniblu  路  3Comments

infectormp picture infectormp  路  3Comments

stepjacky picture stepjacky  路  3Comments

nya13 picture nya13  路  3Comments